diff -r ac0fe8aabb5e -r b45f2768fab1 PLCControler.py --- a/PLCControler.py Sat Aug 19 01:11:27 2017 +0300 +++ b/PLCControler.py Sat Aug 19 16:30:15 2017 +0300 @@ -2439,7 +2439,7 @@ exclude[stepname] = True instance.setname(stepname) localid = instance.getlocalId() - if not localid in used_id: + if localid not in used_id: new_id[localid] = True idx = 1