shouldn't need this unicode workaround anymore (fingers crossed)

This commit is contained in:
Brian S. Stephan 2010-12-24 09:42:49 -06:00
parent c513a0bebc
commit 9ed1586783
1 changed files with 1 additions and 3 deletions

View File

@ -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: