Closed jwjimmy closed 7 years ago
The exception in the zipfile package is called zipfile.BadZipfile, not zipfile.BadZipFile. Source: https://docs.python.org/2/library/zipfile.html#zipfile.BadZipfile
zipfile
zipfile.BadZipfile
zipfile.BadZipFile
When I use this out of the box, I get an import error. Fixing the typo fixes the import error.
The exception in the
zipfile
package is calledzipfile.BadZipfile
, notzipfile.BadZipFile
. Source: https://docs.python.org/2/library/zipfile.html#zipfile.BadZipfileWhen I use this out of the box, I get an import error. Fixing the typo fixes the import error.