mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-09 04:26:12 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -628,7 +628,7 @@ def create_opf(self, htmlfile, guide=None, root=None):
|
|||
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…
Reference in a new issue