changeset 1833 | 2269739dd098 |
parent 1832 | 0f1081928d65 |
child 1837 | c507c363625e |
--- a/connectors/PYRO/__init__.py Thu Sep 28 15:17:57 2017 +0300 +++ b/connectors/PYRO/__init__.py Thu Sep 28 16:25:05 2017 +0300 @@ -134,7 +134,7 @@ # Check connection is effective. # lambda is for getattr of GetPLCstatus to happen inside catcher - if PyroCatcher(lambda: RemotePLCObjectProxy.GetPLCstatus())() is None: + if PyroCatcher(RemotePLCObjectProxy.GetPLCstatus)() is None: confnodesroot.logger.write_error(_("Cannot get PLC status - connection failed.\n")) return None