URI: 
       tOnly write config file once. - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 389c8e8a8d17cc7947df31b5bfab80391c040a9f
   DIR parent 306756b42dcdfc1fdf9092274d819bc709d504d4
  HTML Author: Neil Booth <kyuupichan@gmail.com>
       Date:   Fri,  3 Jul 2015 13:56:17 +0900
       
       Only write config file once.
       
       Diffstat:
         M lib/network_proxy.py                |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/network_proxy.py b/lib/network_proxy.py
       t@@ -205,8 +205,8 @@ class NetworkProxy(util.DaemonThread):
            def set_parameters(self, host, port, protocol, proxy, auto_connect):
                proxy_str = serialize_proxy(proxy)
                server_str = serialize_server(host, port, protocol)
       -        self.config.set_key('auto_connect', auto_connect, True)
       -        self.config.set_key("proxy", proxy_str, True)
       +        self.config.set_key('auto_connect', auto_connect, False)
       +        self.config.set_key("proxy", proxy_str, False)
                self.config.set_key("server", server_str, True)
                # abort if changes were not allowed by config
                if self.config.get('server') != server_str or self.config.get('proxy') != proxy_str: