From 874da9ed1ed76cd0d31be6c01eadcdbb1d2e2143 Mon Sep 17 00:00:00 2001 From: Mars Liu Date: Fri, 3 Dec 2021 17:35:35 +0800 Subject: [PATCH] fixed odd orders --- src/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree.py b/src/tree.py index b5a8cb2..c31754d 100644 --- a/src/tree.py +++ b/src/tree.py @@ -316,7 +316,7 @@ class TreeWalker: meta_path = os.path.join(section_path, mfile) self.ensure_exercises_meta(meta_path, source) export = config.get("export", []) - if mfile not in export: + if mfile not in export and self.name != "algorithm": export.append(mfile) flag = True config["export"] = export -- GitLab