mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix #156.
This commit is contained in:
parent
0128e3bb01
commit
aacaabba66
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ def get_valid_block(page):
|
|||
self.current_page = self.book.create_page()
|
||||
self.current_block = self.book.create_text_block()
|
||||
self.current_para = Paragraph()
|
||||
if self.cover:
|
||||
if self.cover and self.is_root:
|
||||
self.add_image_page(self.cover)
|
||||
self.top = self.current_block
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue