diff --git a/Listen2Arduino.py b/Listen2Arduino.py index be9bc68..af282f0 100755 --- a/Listen2Arduino.py +++ b/Listen2Arduino.py @@ -12,7 +12,7 @@ with open('/home/pi03/influx_token.txt', 'r') as f: #token = os.environ.get("INFLUXDB_TOKEN") -token = first_line +token = first_line.replace('\n', "") org = "FSUFoxLab" ip = "https://fsunuc.physics.fsu.edu/influx/" write_client = influxdb_client.InfluxDBClient(url=ip, token=token, org=org)