Remove redundant logger initialization in main

This commit is contained in:
Rafael Moraes
2025-07-04 20:18:31 -03:00
parent c8d0d77da7
commit c9b6bbaa00
-1
View File
@@ -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())