what is started?????????

This commit is contained in:
piair 2023-08-24 14:24:52 +02:00
parent 0fa8149953
commit 2f2b4f9905

View File

@ -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)
#