diff options
author | Sebastien Martini <seb@dbzteam.org> | 2010-05-13 19:49:33 +0200 |
---|---|---|
committer | Sebastien Martini <seb@dbzteam.org> | 2010-05-13 19:49:33 +0200 |
commit | 4715f25f0019e97f77280a8cec3434400f094f47 (patch) | |
tree | 88bd8db06c21a129e54114567fa57e6b67b2ce23 | |
parent | a6f14ef16de967cb342057549467feb5a47252ab (diff) | |
download | pyinotify-4715f25f0019e97f77280a8cec3434400f094f47.tar.gz |
Fixed auto_add handling in method update_watch (contributed by
Matthew Webber Matthew.Webber@diamond.ac.uk).
-rwxr-xr-x | python2/pyinotify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py index ef2ee7e..e659746 100755 --- a/python2/pyinotify.py +++ b/python2/pyinotify.py @@ -1790,7 +1790,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]) |