Adding some more fixes for path

This commit is contained in:
2026-05-09 13:09:41 +02:00
parent a351022a8f
commit dac6dfc48b
3 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -123,8 +123,10 @@ def validate_project(
)
# Check all slide images exist
# Slides are in the same directory as the slides.json file
slides_json_path = project_path / config.slides_path
# Slides are in the same directory as the slides.json file.
# Lowercase the configured path so capital-cased project names (e.g.
# "media/slides/Video2/slides.json") resolve on case-sensitive filesystems.
slides_json_path = project_path / config.slides_path.lower()
slides_dir = slides_json_path.parent
for slide_id, slide_def in slides.items():