mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 01:33:44 +02:00
Fix regression that broke updating of covers inside ebook files when saving to disk
This commit is contained in:
parent
14782270ff
commit
68448106a6
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue