aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/http.py b/discord/http.py
index 4469f9d4..5eac0984 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -220,6 +220,7 @@ class HTTPClient:
# We've run out of retries, raise.
raise HTTPException(r, data)
+ @asyncio.coroutine
def get_attachment(self, url):
resp = yield from self._session.get(url)
try: