mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Gotta have ourself if we want to be called.
This commit is contained in:
parent
4ba5c2af3c
commit
c1a0304724
@ -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'):
|
||||
|
Loading…
Reference in New Issue
Block a user