mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
dbi cdb mapping trying to use a non-existent variable.
This commit is contained in:
parent
7aae5ae41e
commit
4404cdc51a
@ -279,7 +279,7 @@ class CdbMapping(MappingInterface):
|
||||
self.db['nextId'] = '1'
|
||||
|
||||
def _openCdb(self, *args, **kwargs):
|
||||
self.db = cdb.open(filename, 'c', **kwargs)
|
||||
self.db = cdb.open(self.filename, 'c', **kwargs)
|
||||
|
||||
def _getNextId(self):
|
||||
i = int(self.db['nextId'])
|
||||
|
Loading…
Reference in New Issue
Block a user