From eb07cc8c91cc9732664c4c6b6938cca58d1b7c92 Mon Sep 17 00:00:00 2001 From: Mars Liu Date: Fri, 3 Dec 2021 17:35:31 +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