mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add to_raw() needed by some plugins apparently
This commit is contained in:
parent
f2384437ca
commit
a8c3ebe418
@ -149,6 +149,10 @@ class ThreadSafePrefs(MutableMapping):
|
||||
prefs = self.db().backend.prefs
|
||||
prefs.write_serialized(library_path)
|
||||
|
||||
def to_raw(self, val):
|
||||
prefs = self.db().backend.prefs
|
||||
return prefs.to_raw(val)
|
||||
|
||||
|
||||
class LibraryDatabase(object):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user