From 8dcc028c392c1bbd4fb87cd6072dd178ba76f033 Mon Sep 17 00:00:00 2001 From: Dan O'Reilly Date: Fri, 1 May 2009 20:26:46 -0400 Subject: [PATCH] Fix bug where shared essid settings couldn't be disabled once they were turned on. --- wicd/wicd-daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/wicd-daemon.py b/wicd/wicd-daemon.py index 073d1b1..17f3e2d 100644 --- a/wicd/wicd-daemon.py +++ b/wicd/wicd-daemon.py @@ -1201,8 +1201,8 @@ class WirelessDaemon(dbus.service.Object): # We want to write the essid in addition to bssid # sections if global settings are enabled. + self.config.remove_section(essid_key) if cur_network["use_settings_globally"]: - self.config.remove_section(essid_key) self.config.add_section(essid_key) for x in cur_network: