diff --git a/src/pyj/read_book/db.pyj b/src/pyj/read_book/db.pyj index 5512f46e26..079735e629 100644 --- a/src/pyj/read_book/db.pyj +++ b/src/pyj/read_book/db.pyj @@ -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)