mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
0fb6d7bd59
commit
c62e2fde36
@ -121,11 +121,12 @@ class MobiReader(object):
|
|||||||
# header not the Mobi 8 header
|
# header not the Mobi 8 header
|
||||||
for x in ('first_image_index',):
|
for x in ('first_image_index',):
|
||||||
setattr(self.book_header, x, getattr(bh, x))
|
setattr(self.book_header, x, getattr(bh, x))
|
||||||
self.book_header.huff_offset += i + 1
|
if hasattr(self.book_header, 'huff_offset'):
|
||||||
|
self.book_header.huff_offset += i + 1
|
||||||
self.kf8_type = 'joint'
|
self.kf8_type = 'joint'
|
||||||
self.kf8_boundary = i
|
self.kf8_boundary = i
|
||||||
except:
|
except:
|
||||||
pass
|
self.book_header = bh
|
||||||
break
|
break
|
||||||
|
|
||||||
def check_for_drm(self):
|
def check_for_drm(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user