From 593db09fdf1aca60b367db67443f007bf7d1d625 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 8 Apr 2009 08:21:35 -0700 Subject: [PATCH] MOBI Input: Strip null characters. Fixes #2242 (Calibre only converts first chapter of document) --- src/calibre/ebooks/mobi/reader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/ebooks/mobi/reader.py b/src/calibre/ebooks/mobi/reader.py index 79676c1d52..07b8e153ba 100644 --- a/src/calibre/ebooks/mobi/reader.py +++ b/src/calibre/ebooks/mobi/reader.py @@ -494,6 +494,7 @@ class MobiReader(object): raise MobiError('Unknown compression algorithm: %s'%repr(self.book_header.compression_type)) if self.book_header.ancient and '