MOBI Output: Remove leading index for multi section periodicals

This commit is contained in:
Kovid Goyal 2009-07-20 18:21:53 -06:00
parent f4b4ac9f12
commit 1b9072cdca

View File

@ -104,6 +104,7 @@ class MOBIOutput(OutputFormatPlugin):
sections[0].nodes.append(x) sections[0].nodes.append(x)
else: else:
# multi-section periodical # multi-section periodical
self.oeb.manifest.remove(one)
sections = list(toc) sections = list(toc)
for i,x in enumerate(sections): for i,x in enumerate(sections):
x.klass = 'section' x.klass = 'section'