mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Turn on allowZip64 by default this matches python3 but not python2
This commit is contained in:
parent
65bf9d1f51
commit
0c838d4a40
@ -719,7 +719,7 @@ class ZipFile:
|
||||
|
||||
fp = None # Set here since __del__ checks it
|
||||
|
||||
def __init__(self, file, mode="r", compression=ZIP_DEFLATED, allowZip64=False):
|
||||
def __init__(self, file, mode="r", compression=ZIP_DEFLATED, allowZip64=True):
|
||||
"""Open the ZIP file with mode read "r", write "w" or append "a"."""
|
||||
if mode not in ("r", "w", "a"):
|
||||
raise RuntimeError('ZipFile() requires mode "r", "w", or "a" not %s'%mode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user