mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 10:53:10 +00:00
[lint] Remove redundant paranthesis
Remove redundant parenthisis around await expressions. Left over from
f25091ef
.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user