From 262490889b6795b1904b91503c162382da72292d Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 13 Mar 2016 21:12:13 -0500 Subject: [PATCH] Allow lower-case R for reminder IDs. --- earwigbot/commands/remind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/commands/remind.py b/earwigbot/commands/remind.py index 65638fe..1b3d524 100644 --- a/earwigbot/commands/remind.py +++ b/earwigbot/commands/remind.py @@ -255,7 +255,7 @@ class Remind(Command): """Handle a reminder-processing subcommand.""" user = data.host reminder = None - if args and args[0].startswith("R"): + if args and args[0].upper().startswith("R"): try: reminder = self._get_reminder_by_id(user, args[0]) except IndexError: