Adding some more fixes for path
This commit is contained in:
+4
-2
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user