ca a l'air

This commit is contained in:
piair 2023-08-24 13:40:46 +02:00
parent 1f73f6fdce
commit e28efad8de

View File

@ -454,7 +454,7 @@ def maxi(dict):
def setup_grafana(): def setup_grafana():
print("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") print("subprocess started")
subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh']) subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh'])