Bug cockpit

This commit is contained in:
2026-05-07 21:36:11 +02:00
parent e531076862
commit ca7f43dcd9
2 changed files with 6 additions and 4 deletions

View File

@@ -196,6 +196,8 @@ def list_lessons() -> list[dict]:
for svg_dir in sorted(CONTENT_ROOT.glob("cycle_*/*/*/**/svg")):
if not svg_dir.is_dir():
continue
if "kit_adaptatif" in svg_dir.relative_to(CONTENT_ROOT).parts:
continue
svg_files = sorted(svg_dir.glob("*.svg"))
if not svg_files: