Require explicit thread start

This commit is contained in:
mvdbeek
2019-08-18 16:01:32 +02:00
parent 2046303079
commit e73a20db02
2 changed files with 1 additions and 4 deletions
-4
View File
@@ -146,13 +146,9 @@ class ToolConfWatcher(object):
mod_time = os.path.getmtime(path)
with self._lock:
self.paths[path] = mod_time
if not self._active:
self.start()
def watch_file(self, tool_conf_file):
self.monitor(tool_conf_file)
if not self._active:
self.start()
class ToolWatcher(BaseWatcher):