Gotta have ourself if we want to be called.

This commit is contained in:
James Vega 2004-09-10 01:36:55 +00:00
parent 4ba5c2af3c
commit c1a0304724

View File

@ -103,7 +103,7 @@ class DbmMarkovDB(object):
self.dbs[channel] = anydbm.open(filename, 'c')
return self.dbs[channel]
def _flush(db):
def _flush(self, db):
if hasattr(db, 'sync'):
db.sync()
if hasattr(db, 'flush'):