fix bucket
This commit is contained in:
parent
ff6314b12c
commit
d607c27c42
|
@ -15,7 +15,7 @@ token = first_line
|
|||
org = "FSUFoxLab"
|
||||
ip = "https://fsunuc.physics.fsu.edu/influx/"
|
||||
write_client = influxdb_client.InfluxDBClient(url=ip, token=token, org=org)
|
||||
bucket = "testing"
|
||||
bucket = "interlock"
|
||||
write_api = write_client.write_api(write_options=SYNCHRONOUS)
|
||||
|
||||
print(token)
|
||||
|
@ -96,7 +96,7 @@ while True:
|
|||
|
||||
for key, value in format_value.items():
|
||||
# print(f"{key} value={value}")
|
||||
point.field(key, value)
|
||||
point.field(key, float(value))
|
||||
|
||||
with open(outFile, "w") as file:
|
||||
for key, value in format_value.items():
|
||||
|
|
Loading…
Reference in New Issue
Block a user