提交 7b715be0 编写于 作者: M Mars Liu

fixed odd orders

上级 32cbb934
...@@ -245,7 +245,7 @@ class TreeWalker: ...@@ -245,7 +245,7 @@ class TreeWalker:
def ensure_node_id(self, config): def ensure_node_id(self, config):
flag = False flag = False
if "node_id" not in config or \ if "node_id" not in config or \
not config["node_id"].startswith(f"{self.tree}-") or \ not config["node_id"].startswith(f"{self.name}-") or \
config["node_id"] in id_set: config["node_id"] in id_set:
new_id = self.gen_node_id() new_id = self.gen_node_id()
id_set.add(new_id) id_set.add(new_id)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册