Fix error in page counting when using calibredb add to add a book

This commit is contained in:
Kovid Goyal 2026-02-14 13:41:42 +05:30
parent b241dfeb55
commit ca82e1caba
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -102,6 +102,7 @@ def do_adding(db, request_id, notify_changes, is_remote, mi, format_map, add_dup
if updated_ids:
notify_changes(formats_added({book_id: tuple(format_map) for book_id in updated_ids}))
db.dump_metadata()
db.close()
return added_ids, updated_ids, duplicates