aboutsummaryrefslogtreecommitdiff
path: root/app/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/utils.py')
-rw-r--r--app/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils.py b/app/utils.py
index 034c39c..fd36392 100644
--- a/app/utils.py
+++ b/app/utils.py
@@ -50,7 +50,7 @@ def doFileUpload(file, fileType, fileTypeDesc):
if fileType == "image":
allowedExtensions = ["jpg", "jpeg", "png"]
isImage = True
- elif filetype == "zip":
+ elif fileType == "zip":
allowedExtensions = ["zip"]
else:
raise Exception("Invalid fileType")