mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Forgot a self.
This commit is contained in:
parent
5e4a41533e
commit
a73348f962
@ -76,10 +76,10 @@ class PickleBayesDB(plugins.DbiChannelDB):
|
||||
self.filename = filename
|
||||
self.nickFilename = self.filename.replace('pickle', 'nick.pickle')
|
||||
self.bayes = reverend.thomas.Bayes(tokenize)
|
||||
if os.path.exists(filename):
|
||||
self.bayes.load(filename)
|
||||
if os.path.exists(self.filename):
|
||||
self.bayes.load(self.filename)
|
||||
self.nickBayes = reverend.thomas.Bayes(tokenize)
|
||||
if os.path.exists(nickFilename):
|
||||
if os.path.exists(self.nickFilename):
|
||||
self.nickBayes.load(self.nickFilename)
|
||||
|
||||
def close(self):
|
||||
|
Loading…
Reference in New Issue
Block a user