rename conf file section as 'client'. add gui to conf
This commit is contained in:
parent
5444f55e6b
commit
f0556bb0d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue