diff --git a/client/djrandom_client/osx_watcher.py b/client/djrandom_client/osx_watcher.py index 580f05a410e5fbf58ea3e657f93fd9f7089646f1..e13ac863ac2bfbbb92b4bbc9d4f4fbaf6ec5afeb 100644 --- a/client/djrandom_client/osx_watcher.py +++ b/client/djrandom_client/osx_watcher.py @@ -17,3 +17,7 @@ class Watcher(object): def callback(self, subpath, mask): log.debug('event in %s: %x' % (subpath, mask)) filescan.directory_scan(subpath, self.queue) + + def stop(self): + self.observer.stop() +