mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e61b86cd24
commit
abe30422a6
@ -125,7 +125,7 @@ class IndexEntry(object): # {{{
|
|||||||
buf.append(1)
|
buf.append(1)
|
||||||
|
|
||||||
header = b'TAGX'
|
header = b'TAGX'
|
||||||
header += pack(b'>I', len(buf)) # table length
|
header += pack(b'>I', 12+len(buf)) # table length
|
||||||
header += pack(b'>I', 1) # control byte count
|
header += pack(b'>I', 1) # control byte count
|
||||||
|
|
||||||
return header + bytes(buf)
|
return header + bytes(buf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user