Fix more deprecation warnings for 3.8

This commit is contained in:
Rapptz
2019-11-26 05:19:11 -05:00
parent f554819506
commit c62b6c3e88
3 changed files with 3 additions and 3 deletions

View File

@ -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: