summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/msd')
-rw-r--r--kvmd/plugins/msd/disabled.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py
index 97835513..4dacf1e4 100644
--- a/kvmd/plugins/msd/disabled.py
+++ b/kvmd/plugins/msd/disabled.py
@@ -20,13 +20,14 @@
# ========================================================================== #
-import asyncio
import contextlib
from typing import Dict
from typing import AsyncGenerator
from typing import Optional
+from ... import aiotools
+
from . import MsdOperationError
from . import BaseMsd
@@ -55,7 +56,7 @@ class Plugin(BaseMsd):
async def poll_state(self) -> AsyncGenerator[Dict, None]:
while True:
yield (await self.get_state())
- await asyncio.sleep(60)
+ await aiotools.wait_infinite()
async def reset(self) -> None:
raise MsdDisabledError()