diff --git a/Flask/app.py b/Flask/app.py index 38ad773..0d8ccff 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -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