forked from piair/MsRewards-Reborn
bon la ca marche 100%
This commit is contained in:
parent
2f2b4f9905
commit
24df044e1f
@ -452,10 +452,9 @@ def maxi(dict):
|
||||
m = int(i)
|
||||
return(m+1)
|
||||
|
||||
def setup_grafana():
|
||||
if get("http://localhost:3000/api/datasources").text == "[]" :
|
||||
subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh'])
|
||||
setup_grafana()
|
||||
|
||||
subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh'])
|
||||
|
||||
#if __name__ == '__main__':
|
||||
# print("this is launched")
|
||||
# setup_grafana()
|
||||
|
Loading…
Reference in New Issue
Block a user