Change PrettyLogger.warn to PrettyLogger.warning

This commit is contained in:
I-Al-Istannen
2020-04-25 20:11:51 +02:00
parent e0b46a306a
commit 920d521d68
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ class PrettyLogger:
f"{Fore.RED}{Style.BRIGHT}{message}{Style.RESET_ALL}"
)
def warn(self, message: str) -> None:
def warning(self, message: str) -> None:
"""
Print a warning message indicating some operation failed, but the error can be recovered
or ignored.