diff options
Diffstat (limited to 'kvmd/plugins/atx/disabled.py')
-rw-r--r-- | kvmd/plugins/atx/disabled.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/plugins/atx/disabled.py b/kvmd/plugins/atx/disabled.py index 09fad2f8..d480a337 100644 --- a/kvmd/plugins/atx/disabled.py +++ b/kvmd/plugins/atx/disabled.py @@ -20,11 +20,11 @@ # ========================================================================== # -import asyncio - from typing import Dict from typing import AsyncGenerator +from ... import aiotools + from . import AtxOperationError from . import BaseAtx @@ -50,7 +50,7 @@ class Plugin(BaseAtx): async def poll_state(self) -> AsyncGenerator[Dict, None]: while True: yield self.get_state() - await asyncio.sleep(60) + await aiotools.wait_infinite() # ===== |