mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
simplified AioNotifier()
This commit is contained in:
@@ -99,7 +99,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
|
||||
(got, channel) = await aiomulti.queue_get_last(self.__channel_queue, 1)
|
||||
if got and self.__channel != channel:
|
||||
self.__channel = channel
|
||||
await self._notifier.notify()
|
||||
self._notifier.notify()
|
||||
|
||||
async def cleanup(self) -> None:
|
||||
if self.__proc is not None:
|
||||
|
||||
Reference in New Issue
Block a user