Files
SUST/sustApp/config_loader.py
T
2025-03-01 18:10:34 +01:00

5 lines
168 B
Python

import yaml
def load_config(config_path="./sustApp/config.yaml"):
with open(config_path, encoding='utf8') as f:
return yaml.load(f, Loader=yaml.FullLoader)