should test proxy_str. fixes issue #1073

This commit is contained in:
ThomasV 2015-03-10 09:05:44 +01:00
parent 8644bbf734
commit 0947eb7960
1 changed files with 1 additions and 1 deletions

View File

@ -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: