summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-01 14:38:04 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-01 14:38:04 +0200
commitb483255ff2f6da827dbbe92f418a1db9cb6c4621 (patch)
treecae06f6f85b2c0cced368c346786504b2b51715f /module/ThreadManager.py
parentplugin updates to new interface (diff)
downloadpyload-b483255ff2f6da827dbbe92f418a1db9cb6c4621.tar.xz
reconnect fix
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()