Skip to content

Commit

Permalink
Replace literal with a constant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Apr 26, 2020
1 parent d4daad1 commit d9d2bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pingparsing/__main__.py
Expand Up @@ -188,7 +188,7 @@ def initialize_logger(log_level: str) -> None:
set_logger(is_enable=False)
return

if log_level == "DEBUG":
if log_level == LogLevel.DEBUG:
log_format = (
"<level>{level: <8}</level> | "
"<cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - <level>{message}</level>"
Expand Down

0 comments on commit d9d2bd0

Please sign in to comment.