From c62b6c3e8815cec6f73ec20aa4d0ebd9b68a0f14 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 26 Nov 2019 05:19:11 -0500 Subject: Fix more deprecation warnings for 3.8 --- discord/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/client.py') 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: -- cgit v1.2.3