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/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/http.py') diff --git a/discord/http.py b/discord/http.py index 7fc6abda..25d3e1a1 100644 --- a/discord/http.py +++ b/discord/http.py @@ -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: -- cgit v1.2.3