chelou cette affaire

This commit is contained in:
piair 2023-08-21 20:43:55 +02:00
parent 280d4c79c3
commit 8444fdbb2d
1 changed files with 3 additions and 1 deletions

View File

@ -434,7 +434,9 @@ def upload_file():
if file and allowed_file(file.filename):
filename = secure_filename(file.filename)
file.save(os.path.join('/app/MsRewards-Reborn/user_data/', filename))
return redirect(url_for('download_file', name=filename))
return redirect(url_for('settings'))
else :
print("file not ok")
def maxi(dict):
m = 0