forked from piair/MsRewards-Reborn
chelou cette affaire
This commit is contained in:
parent
280d4c79c3
commit
8444fdbb2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user