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):
|
if file and allowed_file(file.filename):
|
||||||
filename = secure_filename(file.filename)
|
filename = secure_filename(file.filename)
|
||||||
file.save(os.path.join('/app/MsRewards-Reborn/user_data/', 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):
|
def maxi(dict):
|
||||||
m = 0
|
m = 0
|
||||||
|
|
Loading…
Reference in New Issue