From e6d08efdeac0c18ac578f0e671c98977c01b979a Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 3 Nov 2015 15:29:24 +0000 Subject: [PATCH] Fix miscapture bug. Signed-off-by: Daira Hopwood --- src/allmydata/windows/inotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/windows/inotify.py b/src/allmydata/windows/inotify.py index cc7e534d..745b5558 100644 --- a/src/allmydata/windows/inotify.py +++ b/src/allmydata/windows/inotify.py @@ -262,7 +262,7 @@ class INotify(PollMixin): path = self._path.preauthChild(info.filename) # FilePath with Unicode path mask = _action_to_inotify_mask.get(info.action, IN_CHANGED) - def _notify(path): + def _notify(path, mask=mask): for cb in self._callbacks: try: cb(None, path, mask) -- 2.45.2