kopia lustrzana https://github.com/Yakifo/amqtt
Fix HBMQTT-9
rodzic
a3391ffe8a
commit
b5479be287
|
@ -66,8 +66,8 @@ class MQTTClient:
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
self.logger = logging.getLogger(__name__)
|
self.logger = logging.getLogger(__name__)
|
||||||
self.config = config.copy()
|
self.config = _defaults
|
||||||
self.config.update(_defaults)
|
self.config.update(config)
|
||||||
if client_id is not None:
|
if client_id is not None:
|
||||||
self.client_id = client_id
|
self.client_id = client_id
|
||||||
else:
|
else:
|
||||||
|
|
Ładowanie…
Reference in New Issue