diff --git a/src/tree.py b/src/tree.py index b5a8cb26891d2283019c0347bc3bb1b5bdfef96f..c31754dc0eba95dc1d91584ca7c0e3fc1e36b893 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