mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
1e249c2d47
commit
81c347777f
@ -791,6 +791,7 @@ class MobiReader:
|
|||||||
try:
|
try:
|
||||||
num += (ord(data[off:off+1]) & 0x3) + 1
|
num += (ord(data[off:off+1]) & 0x3) + 1
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
self.log.warn('Invalid sizeof trailing entries')
|
||||||
num += 1
|
num += 1
|
||||||
return num
|
return num
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user