commit 0947eb7960496eeb959a4af3fd3c9097a3e27e56
parent 8644bbf73448c101ad30a2a4b910794f69573aee
Author: ThomasV <thomasv@gitorious>
Date: Tue, 10 Mar 2015 09:05:44 +0100
should test proxy_str. fixes issue #1073
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/network.py b/lib/network.py
@@ -243,7 +243,7 @@ class Network(threading.Thread):
self.config.set_key("proxy", proxy_str, True)
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:
+ if self.config.get('server') != server_str or self.config.get('proxy') != proxy_str:
return
if self.proxy != proxy or self.protocol != protocol: