Response to merge review.

3) Fixed.
This commit is contained in:
John Peterson 2012-11-18 17:01:20 +00:00
parent 8a3ca41c0b
commit 4f43a7fa8f

View File

@ -153,7 +153,7 @@ class EbookIterator(BookmarksMixin):
mime_type='application/xhtml+xml')]
self.delete_on_exit.append(cfile)
elif self.exclude_cover:
self.spine.remove(self.spine[0])
self.spine.remove(cover)
if self.opf.path_to_html_toc is not None and \
self.opf.path_to_html_toc not in self.spine: