Commit 75ae52cb authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
parent 453d28fe
......@@ -482,7 +482,7 @@ class Node(DBWorker):
while True:
if node == ROOTNODE:
break
if recursion_depth and recursion_depth <= i:
if recursion_depth is not None and recursion_depth <= i:
break
props = self.node_get_properties(node)
if props is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment