diff --git a/common_config/__init__.py b/common_config/__init__.py index d8390a1d5ba6072b13f1882062abce1af7006490..861147be891ab48497ccac916c570a52b0da286e 100644 --- a/common_config/__init__.py +++ b/common_config/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.1.16' +__version__ = '0.1.17' from common_config.common import * \ No newline at end of file diff --git a/common_config/common.py b/common_config/common.py index e42b77956e6d39e5198c4ef0bd13edc4fff33636..a6f084fabe9daa62a5291fa812f3bb11ac809cba 100644 --- a/common_config/common.py +++ b/common_config/common.py @@ -54,7 +54,7 @@ def get_config_directories() -> List[dict]: ] # If the EIGENSERVICE_CONFIG_PATH environment variable exists append to list - key = f"{APPLICATION_NAME.upper().replace("-", "_").replace(" ", "_")}_CONFIG_DIR" + key = f"{APPLICATION_NAME.upper().replace('-', '_').replace(' ', '_')}_CONFIG_DIR" env_key = os.getenv(key) if env_key is not None: env_dir = { "path": Path(env_key), "kind": "env", "source": key } @@ -77,7 +77,7 @@ def get_potential_config_file_paths(suffix: str) -> List[dict]: config_paths.append(path) # If the EIGENSERVICE_CONFIG_PATH environment variable exists append to list - key = f"{APPLICATION_NAME.upper().replace("-", "_").replace(" ", "_")}_CONFIG_PATH" + key = f"{APPLICATION_NAME.upper().replace('-', '_').replace(' ', '_')}_CONFIG_PATH" env_key = os.getenv(key) if env_key is not None: env_path = { "path": Path(env_key), "kind": "env", "source": key } diff --git a/pyproject.toml b/pyproject.toml index f10b4151e7fffeb09bd8d0c20874eb8f210f3f4d..0079b0f714db4094e021034930841b6708325764 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "common-config" -version = "0.1.16" +version = "0.1.17" description = "A config library for eigenservice" authors = ["David Huss <dh@atoav.com>"]