summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Martini <seb@dbzteam.org>2010-05-13 19:53:02 +0200
committerSebastien Martini <seb@dbzteam.org>2010-05-13 19:53:02 +0200
commitb18898f9d88319c43a06ad1052c3daa82e9d3022 (patch)
tree777f4b185e400f43b8077395a6a8dc77ece87b18
parent4715f25f0019e97f77280a8cec3434400f094f47 (diff)
downloadpyinotify-b18898f9d88319c43a06ad1052c3daa82e9d3022.tar.gz
Fixed auto_add handling in method update_watch (contributed by
Matthew Webber Matthew.Webber@diamond.ac.uk).
-rwxr-xr-xpython3/pyinotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3/pyinotify.py b/python3/pyinotify.py
index 4f8fd11..ffd7ccf 100755
--- a/python3/pyinotify.py
+++ b/python3/pyinotify.py
@@ -1749,7 +1749,7 @@ class WatchManager:
watch_.proc_fun = proc_fun
if auto_add:
- watch_.proc_fun = auto_add
+ watch_.auto_add = auto_add
ret_[awd] = True
log.debug('Updated watch - %s', self._wmd[awd])