aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Amrou Bellalouna <[email protected]>2022-12-23 19:35:54 +0100
committerGravatar Amrou Bellalouna <[email protected]>2022-12-23 19:35:54 +0100
commit31265fddebf0179c914139eef0d8f5d279aa3932 (patch)
tree5bfcd44ba6d7711cc65615c3ee5b85c3b4e27ed3
parentupdate version and carve it in changelog (diff)
fix instantiation of bg tasks set
-rw-r--r--pydis_core/utils/scheduling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/utils/scheduling.py b/pydis_core/utils/scheduling.py
index 7987024c..d4458bc1 100644
--- a/pydis_core/utils/scheduling.py
+++ b/pydis_core/utils/scheduling.py
@@ -10,7 +10,7 @@ from functools import partial
from pydis_core.utils import logging
-_background_tasks = set[asyncio.Task]
+_background_tasks: set[asyncio.Task] = set()
class Scheduler: