fix typo in _setval() return value
This commit is contained in:
parent
6700142d83
commit
ba426640dd
|
@ -94,7 +94,7 @@ class _Database:
|
|||
f.seek(pos)
|
||||
f.write(val)
|
||||
f.close()
|
||||
return pos, (val)
|
||||
return (pos, len(val))
|
||||
|
||||
def _addkey(self, key, (pos, siz)):
|
||||
self._index[key] = (pos, siz)
|
||||
|
|
Loading…
Reference in New Issue