Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
utils.get_module_from_config(): store the config in gouttelette direc…
Browse files Browse the repository at this point in the history
…tory

Store the `modules.yaml` in a dedicated `gouttelette` directory from the
collection directory.
  • Loading branch information
goneri committed Dec 21, 2022
1 parent 4b95756 commit 62a332c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gouttelette/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def indent(text_block: str, indent: int = 0) -> str:

def get_module_from_config(module: str, target_dir: Path) -> dict[str, Any]:

module_file = target_dir / "modules.yaml"
module_file = target_dir / "gouttelette" / "modules.yaml"
raw_content = module_file.read_text()

for i in yaml.safe_load(raw_content):
Expand Down

0 comments on commit 62a332c

Please sign in to comment.