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 # .zip file
try: try:
z = ZipFile(StringIO(data)) z = ZipFile(StringIO(data))
except zipfile.BadZipFile: except zipfile.BadZipfile:
showWarning(_("The download was corrupt. Please try again.")) showWarning(_("The download was corrupt. Please try again."))
return return
base = self.addonsFolder() base = self.addonsFolder()