aboutsummaryrefslogtreecommitdiff
path: root/app/utils.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-05-30 16:48:37 +0100
committerrubenwardy <rw@rubenwardy.com>2020-05-30 16:48:37 +0100
commitc1b4256d440d0c858dedb4971f96c78677538b1d (patch)
tree5ed79bee29ef3eba778398028044c31ee9b11ed3 /app/utils.py
parented78a2e06f7bb3090cf11632eccbfac3aa335030 (diff)
downloadcheatdb-c1b4256d440d0c858dedb4971f96c78677538b1d.tar.xz
Add delete unused uploads admin function
Diffstat (limited to 'app/utils.py')
-rw-r--r--app/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils.py b/app/utils.py
index 73ce4e7..bb24920 100644
--- a/app/utils.py
+++ b/app/utils.py
@@ -73,7 +73,7 @@ def doFileUpload(file, fileType, fileTypeDesc):
ext = getExtension(file.filename)
if ext is None or not ext in allowedExtensions:
- flash("Please upload load " + fileTypeDesc, "danger")
+ flash("Please upload " + fileTypeDesc, "danger")
return None, None
if isImage and not isAllowedImage(file.stream.read()):