mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
fdf4252b45
commit
c88a4f44c8
@ -58,7 +58,7 @@ class TOCAdder(object):
|
||||
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…
x
Reference in New Issue
Block a user