diff options
-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]) |