PLCControler.py
changeset 1775 b45f2768fab1
parent 1774 ac0fe8aabb5e
child 1777 c46ec818bdd7
--- 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