From 14f6ec1106760b8c9c34025184deefad9917fdfa Mon Sep 17 00:00:00 2001 From: David Hoese Date: Mon, 27 Nov 2023 13:40:20 -0600 Subject: [PATCH] Fix config helper function not returning Path object --- pyspectral/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyspectral/config.py b/pyspectral/config.py index b5e9dbf..0114641 100644 --- a/pyspectral/config.py +++ b/pyspectral/config.py @@ -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)