mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 10:53:10 +00:00
Fix more deprecation warnings for 3.8
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user