From d371717e04e116ed140698195c2d1f089c09b65f Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Sat, 19 Aug 2017 11:18:09 +0100 Subject: Better way of running library watcher --- watcher.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'watcher.py') 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: -- cgit v1.2.3