From d1ff59fd4fa45c36f8d9b7cc3c883f6919004a0f Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Sat, 26 Nov 2011 21:20:01 -0500 Subject: [PATCH] fix remind module --- modules/remind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/remind.py b/modules/remind.py index 36152be..e9559c5 100755 --- a/modules/remind.py +++ b/modules/remind.py @@ -102,7 +102,7 @@ p_command = r'\.in ([0-9]+(?:\.[0-9]+)?)\s?((?:%s)\b)?:?\s?(.*)' % periods r_command = re.compile(p_command) def remind(phenny, input): - m = r_command.match(input.bytes.decode('utf-8')) + m = r_command.match(input.bytes) if not m: return phenny.reply("Sorry, didn't understand the input.") length, scale, message = m.groups()