BadZipFile -> BadZipfile
This commit is contained in:
parent
ee58e651ef
commit
ed04b4ce3d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user