Skip to content
Snippets Groups Projects
Commit ee68d362 authored by ale's avatar ale
Browse files

add a stop() method to the fsevents watcher

parent 171cad6d
No related branches found
No related tags found
No related merge requests found
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment