Correct value for ZIP_FILECOUNT_LIMIT

This commit is contained in:
Kovid Goyal 2015-11-28 17:23:43 +05:30
parent 91fbb9d2cd
commit 67182699dc

View File

@ -35,7 +35,7 @@ class LargeZipFile(Exception):
error = BadZipfile # The exception raised by this module
ZIP64_LIMIT = (1 << 31) - 1
ZIP_FILECOUNT_LIMIT = 1 << 16
ZIP_FILECOUNT_LIMIT = (1 << 16) - 1
ZIP_MAX_COMMENT = (1 << 16) - 1
# constants for Zip file compression methods