aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/http.py')
-rw-r--r--discord/http.py2
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: