mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
75ac68f7c7
commit
1b4f9f06b5
@ -178,7 +178,7 @@ def compress_readable_output(src_file, compress_level=6):
|
|||||||
prefix_written = True
|
prefix_written = True
|
||||||
data = gzip_prefix() + data
|
data = gzip_prefix() + data
|
||||||
yield data
|
yield data
|
||||||
yield zobj.flush() + struct.pack(b"<L", crc) + struct.pack(b"<L", size)
|
yield zobj.flush() + struct.pack(b"<L", crc & 0xffffffff) + struct.pack(b"<L", size)
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user