mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Add to_raw() needed by some plugins apparently
This commit is contained in:
parent
f2384437ca
commit
a8c3ebe418
1 changed files with 4 additions and 0 deletions
|
|
@ -149,6 +149,10 @@ def write_serialized(self, library_path):
|
|||
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…
Reference in a new issue