passthrough of all parameters to socket_protocol
This commit is contained in:
parent
6ac1b584fb
commit
70c458d349
@ -120,8 +120,8 @@ class my_client_protocol(my_base_protocol):
|
|||||||
my_base_protocol.DID_PLOENLEIN,
|
my_base_protocol.DID_PLOENLEIN,
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, comm_instance, secret=None):
|
def __init__(self, *args, **kwargs):
|
||||||
socket_protocol.pure_json_protocol.__init__(self, comm_instance, secret)
|
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_EXECUTE_RESPONSE, None, self.start_routine_response)
|
||||||
self.register_callback(self.SID_READ_RESPONSE, None, self.read_data_main_state)
|
self.register_callback(self.SID_READ_RESPONSE, None, self.read_data_main_state)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user