From 56522e51ad6fe35248fd057c55bff777a686a24f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 7 Mar 2024 21:14:12 -0500 Subject: [PATCH] fix(pterodactyl): pylint fixes --- .forgejo/workflows/config/.pylintrc | 3 ++- pterodactyl/logger.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/config/.pylintrc b/.forgejo/workflows/config/.pylintrc index 18bfab4..2dd59c9 100644 --- a/.forgejo/workflows/config/.pylintrc +++ b/.forgejo/workflows/config/.pylintrc @@ -17,4 +17,5 @@ import-outside-toplevel, import-self, relative-beyond-top-level, - too-many-instance-attributes + too-many-instance-attributes, + duplicate-code diff --git a/pterodactyl/logger.py b/pterodactyl/logger.py index 3590b4f..3b38f62 100644 --- a/pterodactyl/logger.py +++ b/pterodactyl/logger.py @@ -4,6 +4,6 @@ from red_commons.logging import getLogger logger = getLogger('red.seacogs.pterodactyl') websocket_logger = getLogger('red.seacogs.pterodactyl.websocket') if logger.level >= logging.VERBOSE: - websocket_logger.setLevel(logging.logging.INFO) + websocket_logger.setLevel(logging.logging.INFO) elif logger.level < logging.VERBOSE: - websocket_logger.setLevel(logging.logging.DEBUG) + websocket_logger.setLevel(logging.logging.DEBUG)