diff --git a/__init__.py b/__init__.py index 178f45a..ce8596f 100644 --- a/__init__.py +++ b/__init__.py @@ -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)