shouldn't need this unicode workaround anymore (fingers crossed)
This commit is contained in:
parent
c513a0bebc
commit
9ed1586783
@ -66,9 +66,7 @@ class MegaHAL(Module):
|
||||
line = addressed_re.sub('', line)
|
||||
append_nick = True
|
||||
|
||||
try:
|
||||
reply = self.megahal.get_reply(line)
|
||||
except UnicodeDecodeError: pass
|
||||
reply = self.megahal.get_reply(line)
|
||||
elif re.search('^megahal$', line, re.IGNORECASE) is not None:
|
||||
reply = self.megahal.get_reply_nolearn('')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user