fix: use return value of resolve_env_variables in config loading
This commit is contained in:
parent
2ef320f107
commit
761cb6a7f5
|
|
@ -72,7 +72,7 @@ class AppConfig(BaseModel):
|
||||||
resolved_path = cls.resolve_config_path(config_path)
|
resolved_path = cls.resolve_config_path(config_path)
|
||||||
with open(resolved_path) as f:
|
with open(resolved_path) as f:
|
||||||
config_data = yaml.safe_load(f)
|
config_data = yaml.safe_load(f)
|
||||||
cls.resolve_env_variables(config_data)
|
config_data = cls.resolve_env_variables(config_data)
|
||||||
|
|
||||||
# Load title config if present
|
# Load title config if present
|
||||||
if "title" in config_data:
|
if "title" in config_data:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue