mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-29 04:00:44 -04:00
Fix error in page counting when using calibredb add to add a book
This commit is contained in:
parent
b241dfeb55
commit
ca82e1caba
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user