瀏覽代碼

Hyphen unnecessary (#43.

tags/v0.2
Ben Kurtovic 10 年之前
父節點
當前提交
86587c3b66
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/commands/remind.py

+ 1
- 1
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."""


Loading…
取消
儲存