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:
parent
bb1a81005e
commit
e7ae8ac75f
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue