mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-20 13:56:22 +01:00
...
This commit is contained in:
parent
0fb6d7bd59
commit
c62e2fde36
1 changed files with 3 additions and 2 deletions
|
|
@ -121,11 +121,12 @@ def section(section_number):
|
|||
# header not the Mobi 8 header
|
||||
for x in ('first_image_index',):
|
||||
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_boundary = i
|
||||
except:
|
||||
pass
|
||||
self.book_header = bh
|
||||
break
|
||||
|
||||
def check_for_drm(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue