Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
SQUASHME: Add zip64 default back to FileHeader
  • Loading branch information
pR0Ps committed May 1, 2023
commit 9b66476f542e9ad7f869e2a5f22f8f4eaf231ca9
2 changes: 1 addition & 1 deletion Lib/zipfile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def __repr__(self):
result.append('>')
return ''.join(result)

def FileHeader(self, zip64):
def FileHeader(self, zip64=False):
"""Return the per-file header as a bytes object."""
dt = self.date_time
dosdate = (dt[0] - 1980) << 9 | dt[1] << 5 | dt[2]
Expand Down