fix bucket

This commit is contained in:
Ryan Tang 2024-02-27 19:04:34 -05:00
parent ff6314b12c
commit d607c27c42

View File

@ -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():