mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
07230e3f96
commit
fe733d66cf
@ -638,6 +638,9 @@ class IndexEntry(object): # {{{
|
|||||||
self.tags.append(Tag(aut_tag[0], [val], self.entry_type,
|
self.tags.append(Tag(aut_tag[0], [val], self.entry_type,
|
||||||
cncx))
|
cncx))
|
||||||
|
|
||||||
|
if raw.replace(b'\x00', b''):
|
||||||
|
raise ValueError('Extra bytes in INDX table entry %d: %r'%(self.index, raw))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def label(self):
|
def label(self):
|
||||||
for tag in self.tags:
|
for tag in self.tags:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user