From ec8cd096741b543b8f79a57aa911ab98f8bb7e56 Mon Sep 17 00:00:00 2001 From: Tom Carmichael Date: Thu, 9 Jul 2020 14:06:24 +0100 Subject: [PATCH 1/2] return connected in connect function --- src/OpenOPC.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OpenOPC.py b/src/OpenOPC.py index d2b6059..7e839ce 100644 --- a/src/OpenOPC.py +++ b/src/OpenOPC.py @@ -260,6 +260,7 @@ def connect(self, opc_server=None, opc_host='localhost'): self._group_server_handles = {} self._group_handles_tag = {} self._group_hooks = {} + return connected def GUID(self): return self._open_guid From e90dcd7ac77abbafd8e57d3356815075825d5eb6 Mon Sep 17 00:00:00 2001 From: Tom Carmichael <49914593+Capula-TC@users.noreply.github.com> Date: Thu, 9 Jul 2020 14:18:04 +0100 Subject: [PATCH 2/2] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4d0af94..c60e08f 100644 --- a/setup.py +++ b/setup.py @@ -11,5 +11,5 @@ package_dir={'':'src'}, py_modules=['OpenOPC'], url='https://github.com/mkwiatkowski/openopc', - version="1.3.1", + version="1.3.2", )