mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:03:52 +02:00
AZW3 Output: Fix TOC at start option not working
This commit is contained in:
parent
34837c3cb5
commit
64268046ab
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ def __init__(self, oeb, opts):
|
|||
id, href = oeb.manifest.generate('contents', 'contents.xhtml')
|
||||
item = self.generated_item = oeb.manifest.add(id, href, XHTML_MIME,
|
||||
data=root)
|
||||
if opts.mobi_toc_at_start == 'end':
|
||||
if self.at_start:
|
||||
oeb.spine.insert(0, item, linear=True)
|
||||
else:
|
||||
oeb.spine.add(item, linear=False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue