Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
860d7e25
Commit
860d7e25
authored
Sep 20, 2026
by
Eric Duminil
Browse files
Small info when bundled
parent
ce6f0f45
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/simstadt/runner.py
View file @
860d7e25
...
@@ -68,6 +68,7 @@ def get_template_path() -> Path:
...
@@ -68,6 +68,7 @@ def get_template_path() -> Path:
return
local_templates
return
local_templates
bundled
=
Path
(
__file__
).
parent
/
"templates"
bundled
=
Path
(
__file__
).
parent
/
"templates"
if
bundled
.
exists
():
if
bundled
.
exists
():
log
.
info
(
"SIMSTADT_TEMPLATE_PATH undefined, and templates/ not present. Trying bundled templates"
)
return
bundled
return
bundled
raise
ValueError
(
raise
ValueError
(
"No template path found. Set SIMSTADT_TEMPLATE_PATH or create a templates/ directory."
"No template path found. Set SIMSTADT_TEMPLATE_PATH or create a templates/ directory."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment