From de642f5e134aba1a4eacb9e0c618f49bed6fd293 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 15 Dec 2011 19:03:28 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/reader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/mobi/reader.py b/src/calibre/ebooks/mobi/reader.py index 37d4fc4125..c344fab211 100644 --- a/src/calibre/ebooks/mobi/reader.py +++ b/src/calibre/ebooks/mobi/reader.py @@ -973,7 +973,8 @@ class MobiReader(object): continue processed_records.append(i) data = self.sections[i][0] - if data[:4] in (b'FLIS', b'FCIS', b'SRCS', b'\xe9\x8e\r\n'): + if data[:4] in (b'FLIS', b'FCIS', b'SRCS', b'\xe9\x8e\r\n', + b'RESC', b'BOUN', b'FDST', b'DATP'): # A FLIS, FCIS, SRCS or EOF record, ignore continue buf = cStringIO.StringIO(data)