commit f0556bb0d342a4bbc7ffc9a817714715e60757ea
parent 5444f55e6b497ad8246ada14cff4b941ddcd7996
Author: ThomasV <thomasv@gitorious>
Date: Thu, 11 Oct 2012 21:07:49 +0200
rename conf file section as 'client'. add gui to conf
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/simple_config.py b/lib/simple_config.py
@@ -102,11 +102,15 @@ class SimpleConfig:
p = ConfigParser.ConfigParser()
p.read(name)
try:
- self.common_config['server'] = p.get('interface','server')
+ self.common_config['server'] = p.get('client','server')
except:
pass
try:
- self.common_config['proxy'] = parse_proxy_options(p.get('interface','proxy'))
+ self.common_config['proxy'] = parse_proxy_options(p.get('client','proxy'))
+ except:
+ pass
+ try:
+ self.common_config['gui'] = p.get('client','gui')
except:
pass
break