From bcadc0f1214aaf8ac246830c8ff5fdca0b9d8594 Mon Sep 17 00:00:00 2001 From: Mars Liu Date: Wed, 3 Nov 2021 12:30:21 +0800 Subject: [PATCH] fixed prefix --- src/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree.py b/src/tree.py index fff4f99..0da9ebc 100644 --- a/src/tree.py +++ b/src/tree.py @@ -69,7 +69,7 @@ def gen_tree(data_path): def ensure_id_helper(node): flag = False - if (node.get('node_id') is None) or node.get('node_id') in id_set or True: + if (node.get('node_id') is None) or node.get('node_id') in id_set: node['node_id'] = gen_node_id() flag = True -- GitLab