passthrough of all parameters to socket_protocol

Esse commit está contido em:
Dirk Alders 2020-12-26 16:31:38 +01:00
commit 70c458d349

Ver arquivo

@ -120,8 +120,8 @@ class my_client_protocol(my_base_protocol):
my_base_protocol.DID_PLOENLEIN,
]
def __init__(self, comm_instance, secret=None):
socket_protocol.pure_json_protocol.__init__(self, comm_instance, secret)
def __init__(self, *args, **kwargs):
socket_protocol.pure_json_protocol.__init__(self, *args, **kwargs)
self.register_callback(self.SID_EXECUTE_RESPONSE, None, self.start_routine_response)
self.register_callback(self.SID_READ_RESPONSE, None, self.read_data_main_state)