Readablility.

This commit is contained in:
Adam Rabjerg
2021-08-26 12:26:55 +02:00
parent 601a9f168b
commit c6b333cde4

View File

@@ -26,7 +26,7 @@ speed_data = [
} }
} }
] ]
client = InfluxDBClient("192.168.178.25", 8086, 'no', 'credentials', 'here') client = InfluxDBClient(host='127.0.0.1', port=8086, username='root', password='root', database='dbname')
client.write_points(speed_data) client.write_points(speed_data)