fix(pterodactyl): pylint fixes

This commit is contained in:
Seaswimmer 2024-03-07 21:14:12 -05:00
parent 9eff010b35
commit 56522e51ad
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063
2 changed files with 4 additions and 3 deletions

View file

@ -17,4 +17,5 @@
import-outside-toplevel,
import-self,
relative-beyond-top-level,
too-many-instance-attributes
too-many-instance-attributes,
duplicate-code

View file

@ -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)