diff options
Diffstat (limited to 'discord/http.py')
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |