Commit 860d7e25 authored by Eric Duminil's avatar Eric Duminil
Browse files

Small info when bundled

parent ce6f0f45
......@@ -68,6 +68,7 @@ def get_template_path() -> Path:
return local_templates
bundled = Path(__file__).parent / "templates"
if bundled.exists():
log.info("SIMSTADT_TEMPLATE_PATH undefined, and templates/ not present. Trying bundled templates")
return bundled
raise ValueError(
"No template path found. Set SIMSTADT_TEMPLATE_PATH or create a templates/ directory."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment