Skip to content

Commit

Permalink
fix: missing load config after finding local file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Jan 23, 2024
1 parent ac27112 commit 79ee198
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyhdx/web/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 79ee198

Please sign in to comment.