mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-09 04:36:04 +01:00
...
This commit is contained in:
parent
9918fb99a8
commit
98b93e36d0
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ def explode(path, dest, question=lambda x:True):
|
|||
dest), no_output=True)['result']
|
||||
|
||||
def set_cover(oeb):
|
||||
if 'cover' not in oeb.guide: return
|
||||
if 'cover' not in oeb.guide or oeb.metadata['cover']: return
|
||||
cover = oeb.guide['cover']
|
||||
if cover.href in oeb.manifest.hrefs:
|
||||
item = oeb.manifest.hrefs[cover.href]
|
||||
|
|
|
|||
Loading…
Reference in a new issue