Stop stripping Markov's db

This commit is contained in:
James Vega 2004-09-17 04:40:21 +00:00
parent 0f182d67e4
commit 6548085878

View File

@ -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():