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 f93669f9..7f5914f2 100644
--- a/kvmd/aiotools.py
+++ b/kvmd/aiotools.py
@@ -85,7 +85,7 @@ async def wait_infinite() -> None:
await asyncio.get_event_loop().create_future()
-async def wait_first(*aws: Awaitable) -> Tuple[Set[asyncio.Future], Set[asyncio.Future]]:
+async def wait_first(*aws: Awaitable) -> Tuple[Set[asyncio.Task], Set[asyncio.Task]]:
return (await asyncio.wait(list(aws), return_when=asyncio.FIRST_COMPLETED))