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 /discord | |
| parent | Fix documentation typo in CategoryChannel (diff) | |
| download | discord.py-e2478b17c998bb56fd96e183ddac053ba66363ae.tar.xz discord.py-e2478b17c998bb56fd96e183ddac053ba66363ae.zip | |
Bump aiohttp requirement and fix AsyncWebhookAdapter
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/webhook.py | 2 |
1 files changed, 1 insertions, 1 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 = {} |