mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +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