From b5479be2876ebe4d7b23862999b45f1b6ecbbfec Mon Sep 17 00:00:00 2001 From: Nicolas Jouanin Date: Sun, 5 Jul 2015 15:52:39 +0200 Subject: [PATCH] Fix HBMQTT-9 --- hbmqtt/client/_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: