diff --git a/pyattck/configuration.py b/pyattck/configuration.py index 5dbfd39a..83afb933 100644 --- a/pyattck/configuration.py +++ b/pyattck/configuration.py @@ -71,7 +71,7 @@ def __read_from_disk(cls, path): else: raise UnknownFileError(provided_value=path, known_values=['.json', '.yml', '.yaml']) except: - warnings.WarningMessage(message=f"The provided config file {path} is not in the correct format. Using default values instead.") + warnings.warn(message=f"The provided config file {path} is not in the correct format. Using default values instead.") pass return None