mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 06:03:44 +02:00
Merge branch 'master' of https://github.com/davidfor/calibre
This commit is contained in:
commit
f519b40778
1 changed files with 1 additions and 1 deletions
|
|
@ -1111,7 +1111,7 @@ def run(self):
|
|||
pr(0.35)
|
||||
self.flush()
|
||||
|
||||
if self.output_plugin.file_type != 'epub':
|
||||
if self.output_plugin.file_type not in ('epub', 'kepub'):
|
||||
# Remove the toc reference to the html cover, if any, except for
|
||||
# epub, as the epub output plugin will do the right thing with it.
|
||||
item = getattr(self.oeb.toc, 'item_that_refers_to_cover', None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue