diff --git a/aqt/addons.py b/aqt/addons.py index 45f1bcd7d..559d3e0c7 100644 --- a/aqt/addons.py +++ b/aqt/addons.py @@ -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()