Browse Source

should test proxy_str. fixes issue #1073

283
ThomasV 10 years ago
parent
commit
0947eb7960
  1. 2
      lib/network.py

2
lib/network.py

@ -243,7 +243,7 @@ class Network(threading.Thread):
self.config.set_key("proxy", proxy_str, True) self.config.set_key("proxy", proxy_str, True)
self.config.set_key("server", server_str, True) self.config.set_key("server", server_str, True)
# abort if changes were not allowed by config # abort if changes were not allowed by config
if self.config.get('server') != server_str or self.config.get('proxy') != proxy: if self.config.get('server') != server_str or self.config.get('proxy') != proxy_str:
return return
if self.proxy != proxy or self.protocol != protocol: if self.proxy != proxy or self.protocol != protocol:

Loading…
Cancel
Save