aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-11-26 05:19:11 -0500
committerRapptz <[email protected]>2019-11-26 05:19:11 -0500
commitc62b6c3e8815cec6f73ec20aa4d0ebd9b68a0f14 (patch)
treefaaa583e4b34a6dbd51126f4079eb85365a20195 /discord/client.py
parentImplement `Webhook.type` (diff)
downloaddiscord.py-c62b6c3e8815cec6f73ec20aa4d0ebd9b68a0f14.tar.xz
discord.py-c62b6c3e8815cec6f73ec20aa4d0ebd9b68a0f14.zip
Fix more deprecation warnings for 3.8
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 67f6fd83..deabe39b 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -74,7 +74,7 @@ def _cancel_tasks(loop):
for task in tasks:
task.cancel()
- loop.run_until_complete(asyncio.gather(*tasks, loop=loop, return_exceptions=True))
+ loop.run_until_complete(asyncio.gather(*tasks, return_exceptions=True))
log.info('All tasks finished cancelling.')
for task in tasks: