mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Fix typo in zip uploading
This commit is contained in:
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")
|
||||
|
Loading…
Reference in New Issue
Block a user