From 700b57de1ce1a750ba5170119b2ac7aa2610f970 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 21 Feb 2014 22:18:20 -0500 Subject: [PATCH] Allow reminder IDs to be lowercase. --- earwigbot/commands/remind.py | 1 + 1 file changed, 1 insertion(+) diff --git a/earwigbot/commands/remind.py b/earwigbot/commands/remind.py index 368891a..68463c8 100644 --- a/earwigbot/commands/remind.py +++ b/earwigbot/commands/remind.py @@ -79,6 +79,7 @@ class Remind(Command): Raises IndexError on failure. """ + rid = rid.upper() if user not in self.reminders: raise IndexError(rid) return [robj for robj in self.reminders[user] if robj.id == rid][0]