summaryrefslogtreecommitdiff
path: root/watcher.py
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@gmail.com>2017-08-19 11:18:09 +0100
committerMichaël Ball <michael.ball@gmail.com>2017-08-19 11:18:09 +0100
commitd371717e04e116ed140698195c2d1f089c09b65f (patch)
treebc9452616f80e0fedc78e7fc38d12e3bc413ab3f /watcher.py
parente9c19e05c6ae79d70f4dcfd8543ff2036147e20f (diff)
Better way of running library watcher
Diffstat (limited to 'watcher.py')
-rw-r--r--watcher.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/watcher.py b/watcher.py
index ffb4a42..353636a 100644
--- a/watcher.py
+++ b/watcher.py
@@ -126,9 +126,6 @@ class LibraryWatcher(object):
register(self.stop)
- while True:
- self.check_for_events()
-
def stop(self):
"""Remove all the watched paths."""
if self.wdd[self.path] > 0: