From 79ee198e4a3f391feed8d0a4ac0f34c19390c30d Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Tue, 23 Jan 2024 09:53:52 +0100 Subject: [PATCH] fix: missing load config after finding local file --- pyhdx/web/serve.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyhdx/web/serve.py b/pyhdx/web/serve.py index 555234c0..4757b0c3 100644 --- a/pyhdx/web/serve.py +++ b/pyhdx/web/serve.py @@ -70,7 +70,9 @@ def run_apps(): if __name__ == "__main__": + cfg_file = Path().cwd() / "pyhdx.yaml" if (cfg_file := Path().cwd() / "pyhdx.yaml").exists(): + cfg.load_config(cfg_file) print("Loading local config file pyhdx.yaml") else: select_config()