mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
BadZipFile -> BadZipfile
This commit is contained in:
parent
ee58e651ef
commit
ed04b4ce3d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue