From 2f2b4f99055281c5d2ff760427fa152592bb856a Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 24 Aug 2023 14:24:52 +0200 Subject: [PATCH] what is started????????? --- Flask/app.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index e9cc803..16cad3b 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -455,10 +455,11 @@ def maxi(dict): def setup_grafana(): if get("http://localhost:3000/api/datasources").text == "[]" : subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh']) - -if __name__ == '__main__': - print("this is launched") - setup_grafana() - update_jobs() - edit_version() - app.run(host='0.0.0.0', port=1234, debug=True) +setup_grafana() +#if __name__ == '__main__': +# print("this is launched") +# setup_grafana() +# update_jobs() +# edit_version() +# app.run(host='0.0.0.0', port=1234, debug=True) +# \ No newline at end of file