From e28efad8dee6b1e8898c448cad24f47268987c7d Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 24 Aug 2023 13:40:46 +0200 Subject: [PATCH] ca a l'air --- Flask/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flask/app.py b/Flask/app.py index 1b6e17a..2b033f1 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -454,7 +454,7 @@ def maxi(dict): def setup_grafana(): print("setup_grafana") - if requests.get("http://localhost:3000/api/datasources").text == "[]" : + if get("http://localhost:3000/api/datasources").text == "[]" : print("subprocess started") subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh'])