diff options
author | Maxim Devaev <[email protected]> | 2023-03-16 20:35:04 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-16 20:35:04 +0200 |
commit | 27f38ef086842a871ff4768ebda46e1348fee2e0 (patch) | |
tree | a1f160421539dab8682b4546bef8e3627279e199 /kvmd/plugins/ugpio | |
parent | 59b1d8abbbb9225ec3164069acc74ec590b93f7b (diff) |
more msd async
Diffstat (limited to 'kvmd/plugins/ugpio')
-rw-r--r-- | kvmd/plugins/ugpio/otgconf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/ugpio/otgconf.py b/kvmd/plugins/ugpio/otgconf.py index e24c26b9..194475c3 100644 --- a/kvmd/plugins/ugpio/otgconf.py +++ b/kvmd/plugins/ugpio/otgconf.py @@ -82,8 +82,8 @@ class Plugin(BaseUserGpioDriver): await asyncio.sleep(5) with Inotify() as inotify: - inotify.watch(os.path.dirname(self.__udc_path), InotifyMask.ALL_MODIFY_EVENTS) - inotify.watch(self.__profile_path, InotifyMask.ALL_MODIFY_EVENTS) + await inotify.watch(os.path.dirname(self.__udc_path), InotifyMask.ALL_MODIFY_EVENTS) + await inotify.watch(self.__profile_path, InotifyMask.ALL_MODIFY_EVENTS) self._notifier.notify() while True: need_restart = False |