summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/hidrelay.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-07 19:04:32 +0300
committerMaxim Devaev <[email protected]>2022-08-07 19:04:32 +0300
commitec9785b4be4afb8667e6968a0454aeca62a190e2 (patch)
tree0b5c7d1b03041867c78f5533a8dd8f488711b073 /kvmd/plugins/ugpio/hidrelay.py
parentaa630988cc09f31d412a62c5480d4bec1a7c626e (diff)
simplified AioNotifier()
Diffstat (limited to 'kvmd/plugins/ugpio/hidrelay.py')
-rw-r--r--kvmd/plugins/ugpio/hidrelay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/hidrelay.py b/kvmd/plugins/ugpio/hidrelay.py
index 1dce0909..d1786908 100644
--- a/kvmd/plugins/ugpio/hidrelay.py
+++ b/kvmd/plugins/ugpio/hidrelay.py
@@ -109,7 +109,7 @@ class Plugin(BaseUserGpioDriver):
except Exception:
raw = -1
if raw != prev_raw:
- await self._notifier.notify()
+ self._notifier.notify()
prev_raw = raw
await asyncio.sleep(self.__state_poll)