1
0
Fork 0
mirror of https://github.com/Luzifer/mqtt2influx.git synced 2024-12-20 09:31:23 +00:00

Fix copy&paste error

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-07-11 19:01:16 +02:00
parent bb1a81005e
commit e7ae8ac75f
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -78,8 +78,8 @@ class MQTT2InfluxDB():
client.connect(
self.obj_get(os.environ, 'MQTT_HOST', mqtt_config['host']),
self.obj_get(os.environ, 'MQTT_HOST',
self.obj_get(mqtt_config, 'host', 1883)),
self.obj_get(os.environ, 'MQTT_PORT',
self.obj_get(mqtt_config, 'port', 1883)),
keepalive=10,
)