提交 03e2883c 编写于 作者: M Mars Liu

fixed odd orders

上级 7f5fd327
...@@ -249,7 +249,7 @@ class TreeWalker: ...@@ -249,7 +249,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.
先完成此消息的编辑!
想要评论请 注册