Browse Source

Adaption to updated modules

mod_update
Dirk Alders 4 years ago
parent
commit
e63c11b137
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      smarthome.py

+ 1
- 1
smarthome.py View File

121
             cn = self.PROT_NAMES[prot_id]
121
             cn = self.PROT_NAMES[prot_id]
122
             logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__ + '.' + cn)
122
             logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__ + '.' + cn)
123
             logger.info('Initiating communication channel')
123
             logger.info('Initiating communication channel')
124
-            c_tcp = tcp_socket.tcp_client_stp(self.PROT_IPS[prot_id], self.PROT_PORTS[prot_id], rx_log_lvl=logging.DEBUG)
124
+            c_tcp = tcp_socket.tcp_client_stp(self.PROT_IPS[prot_id], self.PROT_PORTS[prot_id])
125
             self.__prot__[prot_id] = self.PROT_CLASSES[prot_id](c_tcp, secret=self.PROT_SECRETS[prot_id], auto_auth=True, channel_name=cn)
125
             self.__prot__[prot_id] = self.PROT_CLASSES[prot_id](c_tcp, secret=self.PROT_SECRETS[prot_id], auto_auth=True, channel_name=cn)
126
             #
126
             #
127
             self.__prot__[prot_id].register_callback(None, None, self.__prot_resp_callbacks__, prot_id)
127
             self.__prot__[prot_id].register_callback(None, None, self.__prot_resp_callbacks__, prot_id)

Loading…
Cancel
Save