From b483255ff2f6da827dbbe92f418a1db9cb6c4621 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 1 Aug 2010 14:38:04 +0200 Subject: reconnect fix --- module/ThreadManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/ThreadManager.py') 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() -- cgit v1.2.3