mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +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):
|
class DbmMarkovDB(object):
|
||||||
def __init__(self, filename):
|
def __init__(self, filename):
|
||||||
self.dbs = ircutils.IrcDict()
|
self.dbs = ircutils.IrcDict()
|
||||||
# Stupid anydbm seems to append .db to the end of this.
|
## Stupid anydbm seems to append .db to the end of this.
|
||||||
self.filename = filename.replace('.db', '')
|
#self.filename = filename.replace('.db', '')
|
||||||
|
self.filename = filename
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
for db in self.dbs.values():
|
for db in self.dbs.values():
|
||||||
|
Loading…
Reference in New Issue
Block a user