Pārlūkot izejas kodu

Fix: Tree Execution does not track per-node execution attempts

Joseph Brandenburg 6 mēneši atpakaļ
vecāks
revīzija
2e8a8c4b3d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      readtree.py

+ 1 - 1
readtree.py

@@ -482,7 +482,7 @@ def execute_tree(nodes, base_tree, context, error_popups = False):
                 raise GraphError("There is probably a cycle somewhere in the graph.")
             i+=1    
             n = xForm_pass.pop()
-            if visited.get(n.signature):
+            if visited.get(n.signature) is not None:
                 visited[n.signature]+=1
             else:
                 visited[n.signature]=0