diff options
| author | Bryan Forbes <[email protected]> | 2019-02-11 14:47:36 -0600 |
|---|---|---|
| committer | Bryan Forbes <[email protected]> | 2019-02-12 18:55:19 -0600 |
| commit | e2478b17c998bb56fd96e183ddac053ba66363ae (patch) | |
| tree | e8d588d082f6fedee54811d9fdae7186448cf471 | |
| parent | Fix documentation typo in CategoryChannel (diff) | |
| download | discord.py-e2478b17c998bb56fd96e183ddac053ba66363ae.tar.xz discord.py-e2478b17c998bb56fd96e183ddac053ba66363ae.zip | |
Bump aiohttp requirement and fix AsyncWebhookAdapter
| -rw-r--r-- | discord/webhook.py | 2 | ||||
| -rw-r--r-- | requirements.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/webhook.py b/discord/webhook.py index 68dd6531..ecd35edd 100644 --- a/discord/webhook.py +++ b/discord/webhook.py @@ -141,7 +141,7 @@ class AsyncWebhookAdapter(WebhookAdapter): def __init__(self, session): self.session = session - self.loop = session.loop + self.loop = asyncio.get_event_loop() async def request(self, verb, url, payload=None, multipart=None): headers = {} diff --git a/requirements.txt b/requirements.txt index 52ab6e4c..d2abe662 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -aiohttp>=3.3.0,<3.5.0 +aiohttp>=3.3.0,<3.6.0 websockets>=6.0,<7.0 |