This commit is contained in:
Kovid Goyal 2023-02-16 11:04:11 +05:30
parent c3b7029667
commit 44f157bc94
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)