mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c3b7029667
commit
44f157bc94
@ -301,11 +301,11 @@ class DB:
|
||||
if book.metadata:
|
||||
for key in Object.keys(new_metadata):
|
||||
book.metadata[key] = new_metadata[key]
|
||||
self.do_op(['books'], book, _('Failed to write to the books database'), op='put')
|
||||
self.do_op(['books'], book, _('Failed to write to the books database'), def(): None;, op='put')
|
||||
|
||||
def save_reading_rates(self, book, rates):
|
||||
book.saved_reading_rates = rates
|
||||
self.do_op(['books'], book, _('Failed to write to the books database'), op='put')
|
||||
self.do_op(['books'], book, _('Failed to write to the books database'), def(): None;, op='put')
|
||||
|
||||
def update_annotations_data_from_key(self, library_id, book_id, fmt, new_data):
|
||||
unkey = username_key(get_interface_data().username)
|
||||
|
Loading…
x
Reference in New Issue
Block a user