From 73a08c5c55adcb98f2eafd2d55b9c06c6f3607dc Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Tue, 16 Jun 2009 07:44:27 +0800 Subject: [PATCH] disable automatically disconnecting when Automatically reconnect is False --- wicd/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/monitor.py b/wicd/monitor.py index 2937360..6dcb0a0 100755 --- a/wicd/monitor.py +++ b/wicd/monitor.py @@ -185,7 +185,7 @@ class ConnectionStatus(object): # try to reconnect. self.connection_lost_counter += 1 print self.connection_lost_counter - if self.connection_lost_counter >= 4: + if self.connection_lost_counter >= 4 and daemon.GetAutoReconnect(): wireless.DisconnectWireless() self.connection_lost_counter = 0 return False