4
0
Fork 0
mirror of https://github.com/Robertofon/bienenchaos.git synced 2024-06-06 22:06:23 +02:00

+ vergessen

This commit is contained in:
Robert Köpferl 2020-06-20 23:37:33 +02:00
parent dec9c4e832
commit 5643ca89a3

View file

@ -229,7 +229,7 @@ def write_csv(res):
def to_grafana(res):
try:
os.system("curl -i -XPOST '"+grafanaurl+"' --data-binary 'weight,location=bees01 value="str(res))+"'")
os.system("curl -i -XPOST '"+grafanaurl+"' --data-binary 'weight,location=bees01 value="+str(res))+"'")
except:
print("no access to grafana?")
pass