This website works better with JavaScript.
Home
Help
Sign In
ben
/
earwigbot
mirror of
https://github.com/earwig/earwigbot
Watch
1
Star
1
Fork
0
Code
Releases
4
Activity
Browse Source
Allow reminder IDs to be lowercase.
tags/v0.2
Ben Kurtovic
10 years ago
parent
c15303290b
commit
700b57de1c
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
earwigbot/commands/remind.py
+ 1
- 0
earwigbot/commands/remind.py
View File
@@ -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]
Write
Preview
Loading…
Cancel
Save