mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Output: Don't error out if indexing fails
This commit is contained in:
parent
8290e98838
commit
50d6e86de8
@ -1468,7 +1468,7 @@ class MobiWriter(object):
|
|||||||
record0.write('\0\0\0\x01')
|
record0.write('\0\0\0\x01')
|
||||||
|
|
||||||
# 0xb8 - 0xbb : FCIS record number
|
# 0xb8 - 0xbb : FCIS record number
|
||||||
if FCIS_FLIS :
|
if FCIS_FLIS and self._indexable:
|
||||||
# Write these if FCIS/FLIS turned on
|
# Write these if FCIS/FLIS turned on
|
||||||
# 0xb8 - 0xbb : FCIS record number
|
# 0xb8 - 0xbb : FCIS record number
|
||||||
record0.write(pack('>I', self._fcis_number))
|
record0.write(pack('>I', self._fcis_number))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user