mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Input: Don't fail when the MOBI metadata species a cover that does not exist. Fixes #5333 (Coversion Failed)
This commit is contained in:
parent
0d1031ab54
commit
d4b4e1902d
@ -628,7 +628,7 @@ class MobiReader(object):
|
||||
os.remove(ncover)
|
||||
shutil.copyfile(cover, ncover)
|
||||
cover_copied = os.path.abspath(ncover)
|
||||
opf.cover = ncover.replace(os.sep, '/')
|
||||
opf.cover = ncover.replace(os.sep, '/')
|
||||
|
||||
manifest = [(htmlfile, 'application/xhtml+xml'),
|
||||
(os.path.abspath('styles.css'), 'text/css')]
|
||||
|
Loading…
x
Reference in New Issue
Block a user