summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/otgconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/ugpio/otgconf.py')
-rw-r--r--kvmd/plugins/ugpio/otgconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/ugpio/otgconf.py b/kvmd/plugins/ugpio/otgconf.py
index dc255b02..4c85b0e8 100644
--- a/kvmd/plugins/ugpio/otgconf.py
+++ b/kvmd/plugins/ugpio/otgconf.py
@@ -81,8 +81,8 @@ class Plugin(BaseUserGpioDriver):
await asyncio.sleep(5)
with Inotify() as inotify:
- await inotify.watch_all_modify(os.path.dirname(self.__udc_path))
- await inotify.watch_all_modify(self.__profile_path)
+ await inotify.watch_all_changes(os.path.dirname(self.__udc_path))
+ await inotify.watch_all_changes(self.__profile_path)
self._notifier.notify()
while True:
need_restart = False