mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Pass trough guide entries used by MOBI output
This commit is contained in:
parent
8e9590373f
commit
6697b9bbb3
@ -34,7 +34,8 @@ class Clean(object):
|
|||||||
|
|
||||||
for x in list(self.oeb.guide):
|
for x in list(self.oeb.guide):
|
||||||
href = urldefrag(self.oeb.guide[x].href)[0]
|
href = urldefrag(self.oeb.guide[x].href)[0]
|
||||||
if x.lower() not in ('cover', 'titlepage', 'masthead'):
|
if x.lower() not in ('cover', 'titlepage', 'masthead', 'toc',
|
||||||
|
'title-page', 'copyright-page'):
|
||||||
self.oeb.guide.remove(x)
|
self.oeb.guide.remove(x)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user