Skip to content

Commit

Permalink
Fix config helper function not returning Path object
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Nov 27, 2023
1 parent 77e3a31 commit 14f6ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyspectral/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ def _get_env_or_builtin_config_path() -> Path:
f"'PSP_CONFIG_FILE' is not a file or does not exist!")
if config_file is None:
return BUILTIN_CONFIG_FILE
return config_file
return Path(config_file)

0 comments on commit 14f6ec1

Please sign in to comment.