mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression that broke updating of covers inside ebook files when saving to disk
This commit is contained in:
parent
14782270ff
commit
68448106a6
@ -374,6 +374,8 @@ def do_save_book_to_disk(id_, mi, cover, plugboards,
|
||||
newmi.template_to_attribute(mi, cpb)
|
||||
else:
|
||||
newmi = mi
|
||||
if cover:
|
||||
newmi.cover_data = ('jpg', cover)
|
||||
set_metadata(stream, newmi, fmt)
|
||||
except:
|
||||
if DEBUG:
|
||||
|
Loading…
x
Reference in New Issue
Block a user