Enhancements

This commit is contained in:
2026-06-25 11:19:08 +02:00
parent 8804d21c32
commit 9343657d20
62 changed files with 10210 additions and 976 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
import yaml
import os
def load_config(config_path="./sustApp/config.yaml"):
def load_config(config_path=None):
if config_path is None:
# Resolve path relative to this module's location
config_path = os.path.join(os.path.dirname(__file__), "config.yaml")
with open(config_path, encoding='utf8') as f:
return yaml.load(f, Loader=yaml.FullLoader)