diff options
Diffstat (limited to 'fs/watch.py')
-rw-r--r-- | fs/watch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/watch.py b/fs/watch.py index 04d9803..55e7462 100644 --- a/fs/watch.py +++ b/fs/watch.py @@ -323,9 +323,9 @@ class WatchableFS(WatchableFSMixin,WrapFS): self.notify_watchers(MODIFIED, path, True) return ret - def createfile(self, path): + def createfile(self, path, wipe=False): existed = self.wrapped_fs.isfile(path) - ret = super(WatchableFS, self).createfile(path) + ret = super(WatchableFS, self).createfile(path, wipe=False) if not existed: self.notify_watchers(CREATED,path) self.notify_watchers(ACCESSED,path) |