Fix bad error message format

This commit is contained in:
allegroai 2021-05-27 16:55:00 +03:00
parent 2216bfe875
commit d324b57dd7

View File

@ -84,7 +84,7 @@ class BasicConfig:
if not path.is_dir() and str(path) != DEFAULT_EXTRA_CONFIG_PATH
]
if invalid:
print(f"WARNING: Invalid paths in {self.extra_config_path_env_key} env var: {' '.join(invalid)}")
print(f"WARNING: Invalid paths in {self.extra_config_path_env_key} env var: {' '.join(map(str,invalid))}")
return [path for path in paths if path.is_dir()]
def _load(self, verbose=True):