Small mqtt refactor

This commit is contained in:
zewelor
2018-04-02 21:06:00 +02:00
parent 06cfca60c1
commit 6f64df929a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import paho.mqtt.client as mqtt
class MqttClient:
def __init__(self, config):
self._config = config
self._mqttc = mqtt.Client()
self._mqttc = mqtt.Client(client_id='bt-mqtt-gateway', clean_session=False)
def publish(self, messages):
if messages is None: