[lint] Remove redundant paranthesis

Remove redundant parenthisis around await expressions.  Left over from
f25091ef.
This commit is contained in:
Hornwitser
2018-08-09 14:15:44 +02:00
committed by Rapptz
parent 633192b3cd
commit 51d626eabe
8 changed files with 15 additions and 15 deletions

View File

@ -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: