Commits

Anonymous committed d97d189

Left out a path->directory change

  • Participants
  • Parent commits e5c6e21

Comments (0)

Files changed (1)

FileSystemWatcher.py

             raise ValueError("{} must be a directory".format(directory))
 
         self._filter = filter
-        self._watcher = _watcher.Watcher(self._path, self._callback)
+        self._watcher = _watcher.Watcher(self._directory, self._callback)
 
         # Events to be latched onto.
         self.Changed = _HandlerDict()