From 457f1da7f4fcecfabf158034030dd2536454b9f0 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 29 Feb 2024 23:44:28 -0500 Subject: [PATCH] fix(pterodactyl): pylint "fix" --- pterodactyl/websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/websocket.py b/pterodactyl/websocket.py index 5645a4b..e4be910 100644 --- a/pterodactyl/websocket.py +++ b/pterodactyl/websocket.py @@ -34,7 +34,7 @@ async def establish_websocket_connection(coginstance: Pterodactyl) -> None: async def loop(coginstance: Pterodactyl, websocket: websockets.WebSocketClientProtocol) -> None: current_status = '' - while True: + while True: # pylint: disable=too-many-nested-blocks message = await websocket.recv() if json.loads(message)['event'] in ('token expiring', 'token expired'): logger.debug("Received token expiring/expired event. Refreshing token.")