summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index e6d4747b0..6ab651cee 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -73,7 +73,7 @@ class ThreadManager:
#----------------------------------------------------------------------
def checkReconnect(self):
"""checks if reconnect needed"""
- active = [x.active.plugin.wantReconnect for x in self.threads if x.active]
+ active = [x.active.plugin.wantReconnect and x.active.plugin.waiting for x in self.threads if x.active]
if active.count(True) > 0 and len(active) == active.count(True):
self.reconnecting.set()