Fix typo in zip uploading

This commit is contained in:
rubenwardy 2019-08-09 11:10:43 +01:00
parent 1da86f27a7
commit 18b9fb3876

@ -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")