editors/TextViewer.py
changeset 1775 b45f2768fab1
parent 1773 38fde37c3766
child 1780 c52d1460cea8
--- a/editors/TextViewer.py	Sat Aug 19 01:11:27 2017 +0300
+++ b/editors/TextViewer.py	Sat Aug 19 16:30:15 2017 +0300
@@ -499,7 +499,7 @@
                     if blocktype["type"] == "function" and blockname not in self.Keywords and blockname not in self.Variables.keys():
                         interface = dict([(name, {}) for name, type, modifier in blocktype["inputs"] + blocktype["outputs"] if name != ''])
                         for param in ["EN", "ENO"]:
-                            if not param in interface:
+                            if param not in interface:
                                 interface[param] = {}
                         if blockname in self.Functions:
                             self.Functions[blockname]["interface"].update(interface)