mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d1d7eb99a0
commit
b3259427e8
@ -353,9 +353,7 @@ class MobiWriter(object):
|
|||||||
|
|
||||||
bt = 0x002
|
bt = 0x002
|
||||||
if self.primary_index_record_idx is not None:
|
if self.primary_index_record_idx is not None:
|
||||||
if self.indexer.is_flat_periodical:
|
if self.indexer.is_periodical:
|
||||||
bt = 0x102
|
|
||||||
elif self.indexer.is_periodical:
|
|
||||||
# If you change this, remember to change the cdetype in the EXTH
|
# If you change this, remember to change the cdetype in the EXTH
|
||||||
# header as well
|
# header as well
|
||||||
bt = {'newspaper':0x101}.get(self.publication_type, 0x103)
|
bt = {'newspaper':0x101}.get(self.publication_type, 0x103)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user