connectors/WAMP/__init__.py
changeset 2463 8742337a9fe3
parent 2459 21164625b393
child 2470 590f85412835
--- a/connectors/WAMP/__init__.py	Tue Nov 27 13:34:14 2018 +0100
+++ b/connectors/WAMP/__init__.py	Tue Dec 04 11:31:58 2018 +0100
@@ -156,10 +156,4 @@
     # TODO : GetPLCID()
     # TODO : PSK.UpdateID()
 
-    # Try to get the proxy object
-    try:
-        return WampPLCObjectProxy()
-    except Exception:
-        confnodesroot.logger.write_error(_("WAMP connection to '%s' failed.\n") % location)
-        confnodesroot.logger.write_error(traceback.format_exc())
-        return None
+    return WampPLCObjectProxy