this is probably more useful and less surprising

This commit is contained in:
Jean-Paul Calderone 2019-02-27 15:37:52 -05:00
parent 0845c9ba80
commit 2d5f175712

View File

@ -142,7 +142,7 @@ class INotifyEventHandler(FileSystemEventHandler):
)
def on_any_event(self, event):
with ANY_INOTIFY_EVENT(path=self._path, event=event):
with ANY_INOTIFY_EVENT(path=event.src_path, event=event):
self.process(event)