Skip to content

Commit

Permalink
fix(hyfi): change append_search_path order
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 22, 2023
1 parent aaead5c commit 4c18e01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hyfi/core/hydra/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def create_config_search_path(
search_path = ConfigSearchPathImpl()
search_path.append("hydra", "pkg://hydra.conf")

append_search_path("hyfi", f"pkg://{__config_module_path__}", search_path)
if config_module:
path = (
config_module
Expand All @@ -134,6 +133,9 @@ def create_config_search_path(
else ""
)
append_search_path("main", path, search_path)

append_search_path("hyfi", f"pkg://{__config_module_path__}", search_path)

if caller_config_module := get_caller_config_module_path():
append_search_path("caller", f"pkg://{caller_config_module}", search_path)

Expand Down

0 comments on commit 4c18e01

Please sign in to comment.