diff -r 92932cd370a4 -r c3c3d1318130 PLCControler.py --- a/PLCControler.py Tue Aug 15 16:48:49 2017 +0300 +++ b/PLCControler.py Tue Aug 15 17:01:51 2017 +0300 @@ -2480,7 +2480,7 @@ result = wire.GetConnectedInfos(-1) else: result = wire.GetConnectedInfos(0) - if result != None: + if result is not None: refLocalId, formalParameter = result connections = connection.getconnections() if connections is None or len(connection.getconnections()) <= idx: