提交 4ef1823a 编写于 作者: M Mars Liu

skip export completion if in algorithm

上级 26f13251
...@@ -316,7 +316,7 @@ class TreeWalker: ...@@ -316,7 +316,7 @@ class TreeWalker:
meta_path = os.path.join(section_path, mfile) meta_path = os.path.join(section_path, mfile)
self.ensure_exercises_meta(meta_path, source) self.ensure_exercises_meta(meta_path, source)
export = config.get("export", []) export = config.get("export", [])
if mfile not in export: if mfile not in export and self.name != "algorithm":
export.append(mfile) export.append(mfile)
flag = True flag = True
config["export"] = export config["export"] = export
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册