passthrough of all parameters to socket_protocol

This commit is contained in:
Dirk Alders 2020-12-26 16:31:38 +01:00
förälder 6ac1b584fb
incheckning 70c458d349

Visa fil

@ -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)