Skip to content

Commit

Permalink
Updating warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MSAdministrator committed Feb 14, 2022
1 parent cdf0b02 commit 406a4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyattck/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 406a4ab

Please sign in to comment.