Browse Source

Hyphen unnecessary (#43.

tags/v0.2
Ben Kurtovic 10 years ago
parent
commit
86587c3b66
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/commands/remind.py

+ 1
- 1
earwigbot/commands/remind.py View File

@@ -70,7 +70,7 @@ class Remind(Command):
"""Get a free ID for a new reminder.""" """Get a free ID for a new reminder."""
taken = set(robj.id for robj in chain(*self.reminders.values())) taken = set(robj.id for robj in chain(*self.reminders.values()))
num = random.choice(list(set(range(4096)) - taken)) 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): def _create_reminder(self, data, user):
"""Create a new reminder for the given user.""" """Create a new reminder for the given user."""


Loading…
Cancel
Save