From b58aa6f526fa10dbdce72b1b5a69a1353fd35687 Mon Sep 17 00:00:00 2001 From: Frisk Date: Tue, 11 Aug 2020 23:12:10 +0200 Subject: [PATCH] 3.7 again --- src/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.py b/src/bot.py index 36fc73c..340ce87 100644 --- a/src/bot.py +++ b/src/bot.py @@ -386,7 +386,7 @@ def shutdown(loop, signal=None): if len(messagequeue) > 0: logger.warning("Some messages are still queued!") for task in asyncio.all_tasks(loop): - logger.debug("Killing task {}".format(task.get_name())) + logger.debug("Killing task") task.cancel() loop.run_until_complete(asyncio.gather(*asyncio.all_tasks(loop))) loop.stop()