mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a617d772e4
commit
a3d71097d2
@ -85,6 +85,7 @@ class Serializer(object):
|
||||
spine_item(item).is_section_start = True
|
||||
for i, article in enumerate(articles):
|
||||
si = spine_item(article)
|
||||
if si is not None:
|
||||
si.is_article_start = True
|
||||
|
||||
items = list(self.oeb.spine)
|
||||
@ -116,7 +117,7 @@ class Serializer(object):
|
||||
buf.write(b'</html>')
|
||||
self.end_offset = buf.tell()
|
||||
self.fixup_links()
|
||||
if self.start_offset is None:
|
||||
if self.start_offset is None and not self.is_periodical:
|
||||
# If we don't set a start offset, the stupid Kindle will
|
||||
# open the book at the location of the first IndexEntry, which
|
||||
# could be anywhere. So ensure the book is always opened at the
|
||||
|
Loading…
x
Reference in New Issue
Block a user