mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix a regression in 3.39 that caused a harmless error message when using copy to library for books that have been converted
Fixes #1814279 [3.39 breaks copying between libraries using the GUI](https://bugs.launchpad.net/calibre/+bug/1814279)
This commit is contained in:
parent
e0d5a021dd
commit
437170afe9
@ -58,9 +58,9 @@ def postprocess_copy(book_id, new_book_id, new_authors, db, newdb, identical_boo
|
||||
if link_map:
|
||||
newdb.set_link_for_authors(link_map)
|
||||
|
||||
co = db.conversion_options(book_id, 'PIPE')
|
||||
co = db.conversion_options(book_id)
|
||||
if co is not None:
|
||||
newdb.set_conversion_options(new_book_id, 'PIPE', co)
|
||||
newdb.set_conversion_options({new_book_id:co})
|
||||
if identical_books_data is not None and duplicate_action != 'add':
|
||||
newdb.update_data_for_find_identical_books(new_book_id, identical_books_data)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user