From 51d626eabef3b8310478c6a88c88b2a3cc290bde Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Thu, 9 Aug 2018 14:15:44 +0200 Subject: =?UTF-8?q?[lint]=C2=A0Remove=20redundant=20paranthesis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove redundant parenthisis around await expressions. Left over from f25091ef. --- discord/gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/gateway.py') diff --git a/discord/gateway.py b/discord/gateway.py index caca7e09..7e297d4f 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -229,7 +229,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): except websockets.exceptions.ConnectionClosed: # ws got closed so let's just do a regular IDENTIFY connect. log.info('RESUME failed (the websocket decided to close) for Shard ID %s. Retrying.', shard_id) - return (await cls.from_client(client, shard_id=shard_id)) + return await cls.from_client(client, shard_id=shard_id) else: return ws -- cgit v1.2.3