mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:24:02 +02:00
...
This commit is contained in:
parent
fdf4252b45
commit
c88a4f44c8
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def __init__(self, oeb, opts):
|
|||
else:
|
||||
oeb.guide.remove('toc')
|
||||
|
||||
if not self.has_toc or 'toc' in oeb.guide:
|
||||
if not self.has_toc or 'toc' in oeb.guide or opts.no_inline_toc:
|
||||
return
|
||||
|
||||
self.log('\tGenerating in-line ToC')
|
||||
|
|
|
|||
Loading…
Reference in a new issue