From 18b9fb38766260aabeab5ce1cd98c7f49d57c91d Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 9 Aug 2019 11:10:43 +0100 Subject: Fix typo in zip uploading --- app/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/utils.py') 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") -- cgit v1.2.3