Fix typo in zip uploading

This commit is contained in:
rubenwardy 2019-08-09 11:10:43 +01:00
parent 1da86f27a7
commit 18b9fb3876
1 changed files with 1 additions and 1 deletions

View File

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