mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Stop stripping Markov's db
This commit is contained in:
parent
0f182d67e4
commit
6548085878
@ -134,8 +134,9 @@ class SqliteMarkovDB(object):
|
||||
class DbmMarkovDB(object):
|
||||
def __init__(self, filename):
|
||||
self.dbs = ircutils.IrcDict()
|
||||
# Stupid anydbm seems to append .db to the end of this.
|
||||
self.filename = filename.replace('.db', '')
|
||||
## Stupid anydbm seems to append .db to the end of this.
|
||||
#self.filename = filename.replace('.db', '')
|
||||
self.filename = filename
|
||||
|
||||
def close(self):
|
||||
for db in self.dbs.values():
|
||||
|
Loading…
Reference in New Issue
Block a user