Oops bug fix with condition

master
Steve L. Nyemba 8 years ago
parent fd4c01f804
commit 85e3c7f6df

@ -220,7 +220,7 @@ class ThreadManager:
lock = RLock()
ThreadManager.Pool['monitor'] = Top(config,lock)
ThreadManager.Pool['learner'] = Learner(config,lock)
if 'folders' in config :
if 'folders' not in config :
ThreadManager.Pool['file-watch'] = FileWatchWorker(config,lock)
for id in ThreadManager.Pool :
thread = ThreadManager.Pool[id]

Loading…
Cancel
Save