From 5dabdcd540d7b5e65e534e81689f21537a91ce72 Mon Sep 17 00:00:00 2001 From: compwiz18 <> Date: Fri, 5 Oct 2007 02:29:42 +0000 Subject: [PATCH] applied patch from bug https://bugs.launchpad.net/wicd/+bug/149318 applied patch from bug https://bugs.launchpad.net/wicd/+bug/149322 thanks Daniel --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 8219922..79945f4 100644 --- a/daemon.py +++ b/daemon.py @@ -275,7 +275,7 @@ class ConnectionWizard(dbus.service.Object): '''sets if debugging mode is on or off''' config = ConfigParser.ConfigParser() config.read(self.app_conf) - config.set("Settings","debug_mode",debug) + config.set("Settings","debug_mode",int(debug)) configfile = open(self.app_conf,"w") config.write(configfile) self.debug_mode = debug @@ -304,7 +304,7 @@ class ConnectionWizard(dbus.service.Object): ''' Sets the signal display type and writes it the wicd config file ''' config = ConfigParser.ConfigParser() config.read(self.app_conf) - config.set("Settings","signal_display_type",value) + config.set("Settings","signal_display_type",int(value)) configfile = open(self.app_conf,"w") config.write(configfile) self.signal_display_type = value