From 6144ce34d6b60ac35d420bd6eb9d5e3569ecc77f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 21 Nov 2011 07:49:07 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/writer2/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/ebooks/mobi/writer2/main.py b/src/calibre/ebooks/mobi/writer2/main.py index 760b444cd3..0336fcdff0 100644 --- a/src/calibre/ebooks/mobi/writer2/main.py +++ b/src/calibre/ebooks/mobi/writer2/main.py @@ -311,8 +311,7 @@ class MobiWriter(object): elif 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) - + bt = 0x103 if self.indexer.is_flat_periodical else 0x101 exth = self.build_exth(bt) first_image_record = None