--- a/connectors/PYRO/__init__.py Fri Nov 23 00:33:04 2018 +0100
+++ b/connectors/PYRO/__init__.py Fri Nov 23 00:45:51 2018 +0100
@@ -123,11 +123,11 @@
# lambda is for getattr of GetPLCstatus to happen inside catcher
IDPSK = PyroCatcher(RemotePLCObjectProxy.GetPLCID)()
if IDPSK is None:
- confnodesroot.logger.write_error(_("Cannot get PLC ID - connection failed.\n"))
- return None
+ confnodesroot.logger.write_warning(_("PLC did not provide identity and security infomation.\n"))
+ else:
+ ID,secret = IDPSK
+ PSK.UpdateID(confnodesroot.ProjectPath, ID, secret, uri)
- ID,secret = IDPSK
- PSK.UpdateID(confnodesroot.ProjectPath, ID, secret, uri)
_special_return_funcs = {
"StartPLC": False,