mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:13:27 +02:00
Fix #7812 (Bookmarks don't work.)
This commit is contained in:
parent
2ee84bad3a
commit
73f54f5e9d
1 changed files with 1 additions and 1 deletions
|
|
@ -1227,7 +1227,7 @@ def writestr(self, zinfo_or_arcname, bytes, permissions=0600,
|
|||
self.fp.flush()
|
||||
if zinfo.flag_bits & 0x08:
|
||||
# Write CRC and file sizes after the file data
|
||||
self.fp.write(struct.pack("<lLL", zinfo.CRC, zinfo.compress_size,
|
||||
self.fp.write(struct.pack("<LLL", zinfo.CRC, zinfo.compress_size,
|
||||
zinfo.file_size))
|
||||
self.filelist.append(zinfo)
|
||||
self.NameToInfo[zinfo.filename] = zinfo
|
||||
|
|
|
|||
Loading…
Reference in a new issue