mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Output: Remove leading index for multi section periodicals
This commit is contained in:
parent
f4b4ac9f12
commit
1b9072cdca
@ -104,6 +104,7 @@ class MOBIOutput(OutputFormatPlugin):
|
||||
sections[0].nodes.append(x)
|
||||
else:
|
||||
# multi-section periodical
|
||||
self.oeb.manifest.remove(one)
|
||||
sections = list(toc)
|
||||
for i,x in enumerate(sections):
|
||||
x.klass = 'section'
|
||||
|
Loading…
x
Reference in New Issue
Block a user