diff --git a/src/allmydata/windows/inotify.py b/src/allmydata/windows/inotify.py index f3da543b8..dc08e0b49 100644 --- a/src/allmydata/windows/inotify.py +++ b/src/allmydata/windows/inotify.py @@ -269,6 +269,8 @@ class INotify(PollMixin): if self._check_stop(): return for info in fni: path = self._path.preauthChild(info.filename) # FilePath with Unicode path + if info.action == FILE_ACTION_MODIFIED and path.isdir(): + continue #mask = _action_to_inotify_mask.get(info.action, IN_CHANGED) def _maybe_notify(path):