Commit 63f32417 authored by Ezio Melotti's avatar Ezio Melotti

#11981: remove duplicate line. Patch by Johan Euphrosine.

parent 670e1ac2
......@@ -1391,7 +1391,6 @@ class ZipFile:
zinfo.compress_size = len(data) # Compressed size
else:
zinfo.compress_size = zinfo.file_size
zinfo.header_offset = self.fp.tell() # Start of header data
self.fp.write(zinfo.FileHeader())
self.fp.write(data)
self.fp.flush()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment