trename conf file section as 'client'. add gui to conf - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f0556bb0d342a4bbc7ffc9a817714715e60757ea DIR parent 5444f55e6b497ad8246ada14cff4b941ddcd7996 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 11 Oct 2012 21:07:49 +0200 rename conf file section as 'client'. add gui to conf Diffstat: M lib/simple_config.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/simple_config.py b/lib/simple_config.py t@@ -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