diff options
Diffstat (limited to 'kvmd/aiogp.py')
-rw-r--r-- | kvmd/aiogp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/aiogp.py b/kvmd/aiogp.py index 534c82a9..6860c6ba 100644 --- a/kvmd/aiogp.py +++ b/kvmd/aiogp.py @@ -107,7 +107,7 @@ class AioReader: # pylint: disable=too-many-instance-attributes ) for (pin, value) in zip(pins, lines.get_values()) } - self.__loop.call_soon_threadsafe(self.__notifier.notify_sync) + self.__loop.call_soon_threadsafe(self.__notifier.notify) while not self.__stop_event.is_set(): ev_lines = lines.event_wait(1) @@ -170,5 +170,5 @@ class _DebouncedValue: value = await self.__queue.get() if self.__value != value: self.__value = value - await self.__notifier.notify() + self.__notifier.notify() await asyncio.sleep(self.__debounce) |