mirror of
https://github.com/glomatico/votify.git
synced 2026-10-09 09:22:19 +02:00
Remove redundant logger initialization in main
This commit is contained in:
@@ -389,7 +389,6 @@ def main(
|
||||
no_config_file: bool,
|
||||
) -> None:
|
||||
colorama.just_fix_windows_console()
|
||||
logger = logging.getLogger("votify")
|
||||
logger.setLevel(log_level)
|
||||
stream_handler = logging.StreamHandler()
|
||||
stream_handler.setFormatter(CustomLoggerFormatter())
|
||||
|
||||
Reference in New Issue
Block a user