This commit is contained in:
Kovid Goyal 2011-09-14 14:29:22 -06:00
parent b3259427e8
commit ea325148ea

View File

@ -353,7 +353,11 @@ 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_periodical: if False and self.indexer.is_flat_periodical:
# Disabled as setting this to 0x102 causes the Kindle to not
# auto archive the issues
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)