summaryrefslogtreecommitdiff
path: root/kvmd/aiotools.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/aiotools.py')
-rw-r--r--kvmd/aiotools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/aiotools.py b/kvmd/aiotools.py
index b5d9e2fd..dd22b6c5 100644
--- a/kvmd/aiotools.py
+++ b/kvmd/aiotools.py
@@ -65,7 +65,7 @@ def create_short_task(coro: Coroutine) -> asyncio.Task:
def get_short_tasks() -> List[asyncio.Task]:
return [
task
- for task in asyncio.Task.all_tasks()
+ for task in asyncio.all_tasks()
if getattr(task, _ATTR_SHORT_TASK, False)
]