Skip to content

Commit

Permalink
Fix config file path.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeanwallace committed Mar 27, 2024
1 parent b69d0b7 commit d9d2fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jinjabread/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def load(cls, *, project_dir=None, config_file=None):
suppress_missing_config_file_error = config_file is None

project_dir = Path(project_dir or ".")
config_file = Path(config_file or CONFIG_FILENAME)
config_file = project_dir / Path(config_file or CONFIG_FILENAME)

with (Path(__file__).parent / "defaults.toml").open("rb") as file:
data = tomllib.load(file)
Expand Down

0 comments on commit d9d2fa9

Please sign in to comment.