mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +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
|
n += 1
|
||||||
if id == someId:
|
if id == someId:
|
||||||
return (n, count)
|
return (n, count)
|
||||||
|
raise KeyError
|
||||||
|
|
||||||
def addWord(self, channel, word):
|
def addWord(self, channel, word):
|
||||||
word = word.lower()
|
word = word.lower()
|
||||||
|
Loading…
Reference in New Issue
Block a user