From 86587c3b66fce39f8f208959a16ef21f380e808a Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 19 Feb 2014 17:22:24 -0500 Subject: [PATCH] Hyphen unnecessary (#43. --- 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 2ecbacb..49e2d52 100644 --- a/earwigbot/commands/remind.py +++ b/earwigbot/commands/remind.py @@ -70,7 +70,7 @@ class Remind(Command): """Get a free ID for a new reminder.""" taken = set(robj.id for robj in chain(*self.reminders.values())) num = random.choice(list(set(range(4096)) - taken)) - return "R-{0:03X}".format(num) + return "R{0:03X}".format(num) def _create_reminder(self, data, user): """Create a new reminder for the given user."""