mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
forgetting[something] KeyError: something
This commit is contained in:
parent
5deb99192e
commit
d9a4a6da36
@ -122,6 +122,7 @@ class WordStatsDB(plugins.ChannelUserDB):
|
||||
n += 1
|
||||
if id == someId:
|
||||
return (n, count)
|
||||
raise KeyError
|
||||
|
||||
def addWord(self, channel, word):
|
||||
word = word.lower()
|
||||
|
Loading…
Reference in New Issue
Block a user