BadZipFile -> BadZipfile

This commit is contained in:
Damien Elmes 2016-02-18 18:49:44 +10:00
parent ee58e651ef
commit ed04b4ce3d

View File

@ -126,7 +126,7 @@ class AddonManager(object):
# .zip file
try:
z = ZipFile(StringIO(data))
except zipfile.BadZipFile:
except zipfile.BadZipfile:
showWarning(_("The download was corrupt. Please try again."))
return
base = self.addonsFolder()