mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
AZW3 Output: Do not refuse to create the ToC if it has only a single entry
This commit is contained in:
parent
a67fe73a30
commit
d1023efd1e
@ -331,7 +331,7 @@ class KF8Writer(object):
|
||||
toc = self.oeb.toc
|
||||
entries = []
|
||||
is_periodical = self.opts.mobi_periodical
|
||||
if toc.count() < 2:
|
||||
if toc.count() < 1:
|
||||
self.log.warn('Document has no ToC, MOBI will have no NCX index')
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user