[lint] Remove redundant paranthesis

Remove redundant parenthisis around await expressions.  Left over from
f25091ef.
This commit is contained in:
Hornwitser
2018-11-24 22:17:58 -05:00
committed by Rapptz
parent 633192b3cd
commit 51d626eabe
8 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -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