diff --git a/Flask/app.py b/Flask/app.py index 3a6d7f4..d3d4b08 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -443,10 +443,7 @@ def upload_file(): print(f'file{i}' in request.files) print("requete bizarre") return redirect(url_for('settings_get')) - - - return redirect(url_for('settings_get')) def maxi(dict): m = 0 @@ -456,7 +453,9 @@ def maxi(dict): return(m+1) def setup_grafana(): + print("setup_grafana") if requests.get("http://localhost:3000/api/datasources").text == "[]" : + print("subprocess started") subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh']) if __name__ == '__main__':