From 70c458d34951cfbf1bddcf4a35fe7112797b106b Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sat, 26 Dec 2020 16:31:38 +0100 Subject: [PATCH] passthrough of all parameters to socket_protocol --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)