svgui/pyjs/pyjs.py
changeset 1775 b45f2768fab1
parent 1773 38fde37c3766
child 1776 81aa8aaccdd4
--- a/svgui/pyjs/pyjs.py	Sat Aug 19 01:11:27 2017 +0300
+++ b/svgui/pyjs/pyjs.py	Sat Aug 19 16:30:15 2017 +0300
@@ -1546,7 +1546,7 @@
     def parseModule(self, module_name, file_name):
 
         importing = False
-        if not file_name in self.parse_cache:
+        if file_name not in self.parse_cache:
             importing = True
             mod = compiler.parseFile(file_name)
             self.parse_cache[file_name] = mod