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:
@ -218,7 +218,7 @@ class HTTPClient:
|
||||
async def get_attachment(self, url):
|
||||
async with self._session.get(url) as resp:
|
||||
if resp.status == 200:
|
||||
return (await resp.read())
|
||||
return await resp.read()
|
||||
elif resp.status == 404:
|
||||
raise NotFound(resp, 'attachment not found')
|
||||
elif resp.status == 403:
|
||||
|
Reference in New Issue
Block a user