Permalink
Browse files

Fix exception name

  • Loading branch information...
Smashman committed May 27, 2018
1 parent b08aacf commit 4d0f98f0f415545ddac9e0cd416a33a5ee53b1b5
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/utils/utils.py
View
@@ -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"

0 comments on commit 4d0f98f

Please sign in to comment.