Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix exception name
  • Loading branch information
Smashman committed May 27, 2018
1 parent b08aacf commit 4d0f98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/utils.py
Expand Up @@ -47,7 +47,7 @@ def extract_and_image(zip_in, db_record):
except KeyError:
flash("No manifest, please upload a Workshop zip.", "danger")
return
except BadZipfile:
except zipfile.BadZipfile:
flash("Archive is corrupt, please try repackaging your item before trying again.", "danger")
return
print "Converting manifest. vdf -> dict"
Expand Down

0 comments on commit 4d0f98f

Please sign in to comment.