changeset 1743 | c3c3d1318130 |
parent 1741 | dd94b9a68c61 |
child 1744 | 69dfdb26f600 |
--- 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: