diff --git a/hbmqtt/client/_client.py b/hbmqtt/client/_client.py index 145f868..88dfd1a 100644 --- a/hbmqtt/client/_client.py +++ b/hbmqtt/client/_client.py @@ -66,8 +66,8 @@ class MQTTClient: :return: """ self.logger = logging.getLogger(__name__) - self.config = config.copy() - self.config.update(_defaults) + self.config = _defaults + self.config.update(config) if client_id is not None: self.client_id = client_id else: