fix: Typo in file name
All checks were successful
Build Docker / Build Main Image (push) Successful in 17s
Build Docker / Build SLDs Image (push) Successful in 18s

This commit is contained in:
Nathan Woodburn 2023-11-18 11:57:20 +11:00
parent d879aa32d6
commit 268721555c
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -26,7 +26,7 @@ def allowed_file(filename):
return '.' in filename and filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS
def save_avatar(file,owner):
filename = re.sub(r'[^a-zA-Z0-9]', '', filename).lower()
filename = re.sub(r'[^a-zA-Z0-9]', '', file.filename).lower()