forked from cswimr/SeaCogs
fix(pterodactyl): pylint fixes
This commit is contained in:
parent
9eff010b35
commit
56522e51ad
2 changed files with 4 additions and 3 deletions
|
@ -17,4 +17,5 @@
|
|||
import-outside-toplevel,
|
||||
import-self,
|
||||
relative-beyond-top-level,
|
||||
too-many-instance-attributes
|
||||
too-many-instance-attributes,
|
||||
duplicate-code
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue