Adaption to updated modules
This commit is contained in:
parent
7e45f9362a
commit
e63c11b137
@ -121,7 +121,7 @@ class WetationFrameProt(gui.Wetation):
|
|||||||
cn = self.PROT_NAMES[prot_id]
|
cn = self.PROT_NAMES[prot_id]
|
||||||
logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__ + '.' + cn)
|
logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__ + '.' + cn)
|
||||||
logger.info('Initiating communication channel')
|
logger.info('Initiating communication channel')
|
||||||
c_tcp = tcp_socket.tcp_client_stp(self.PROT_IPS[prot_id], self.PROT_PORTS[prot_id], rx_log_lvl=logging.DEBUG)
|
c_tcp = tcp_socket.tcp_client_stp(self.PROT_IPS[prot_id], self.PROT_PORTS[prot_id])
|
||||||
self.__prot__[prot_id] = self.PROT_CLASSES[prot_id](c_tcp, secret=self.PROT_SECRETS[prot_id], auto_auth=True, channel_name=cn)
|
self.__prot__[prot_id] = self.PROT_CLASSES[prot_id](c_tcp, secret=self.PROT_SECRETS[prot_id], auto_auth=True, channel_name=cn)
|
||||||
#
|
#
|
||||||
self.__prot__[prot_id].register_callback(None, None, self.__prot_resp_callbacks__, prot_id)
|
self.__prot__[prot_id].register_callback(None, None, self.__prot_resp_callbacks__, prot_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user