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