summaryrefslogtreecommitdiffstats
path: root/Lib/zipfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/zipfile.py')
-rw-r--r--Lib/zipfile.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index 68051c8..df4ed91 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -1376,7 +1376,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()