From b3259427e89c2165290c484462d3985dfa6f3e98 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 14 Sep 2011 13:47:15 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/writer2/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/calibre/ebooks/mobi/writer2/main.py b/src/calibre/ebooks/mobi/writer2/main.py index 987d22afd3..2d1f0536ea 100644 --- a/src/calibre/ebooks/mobi/writer2/main.py +++ b/src/calibre/ebooks/mobi/writer2/main.py @@ -353,9 +353,7 @@ class MobiWriter(object): bt = 0x002 if self.primary_index_record_idx is not None: - if self.indexer.is_flat_periodical: - bt = 0x102 - elif self.indexer.is_periodical: + if self.indexer.is_periodical: # If you change this, remember to change the cdetype in the EXTH # header as well bt = {'newspaper':0x101}.get(self.publication_type, 0x103)