mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Apparently write_serialized is needed
This commit is contained in:
parent
a6587b1f3d
commit
99bf8b9dac
@ -141,6 +141,10 @@ class ThreadSafePrefs(MutableMapping):
|
|||||||
prefs = db.backend.prefs
|
prefs = db.backend.prefs
|
||||||
return prefs.set_namespaced(namespace, key, val)
|
return prefs.set_namespaced(namespace, key, val)
|
||||||
|
|
||||||
|
def write_serialized(self, library_path):
|
||||||
|
prefs = self.db().backend.prefs
|
||||||
|
prefs.write_serialized(library_path)
|
||||||
|
|
||||||
|
|
||||||
class LibraryDatabase(object):
|
class LibraryDatabase(object):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user