fix remind module

master
mutantmonkey 2011-11-26 21:20:01 -05:00
parent f24fc68a3a
commit d1ff59fd4f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ p_command = r'\.in ([0-9]+(?:\.[0-9]+)?)\s?((?:%s)\b)?:?\s?(.*)' % periods
r_command = re.compile(p_command) r_command = re.compile(p_command)
def remind(phenny, input): def remind(phenny, input):
m = r_command.match(input.bytes.decode('utf-8')) m = r_command.match(input.bytes)
if not m: if not m:
return phenny.reply("Sorry, didn't understand the input.") return phenny.reply("Sorry, didn't understand the input.")
length, scale, message = m.groups() length, scale, message = m.groups()