Fix typo.

This commit is contained in:
Neil Booth 2015-08-31 14:05:38 +09:00
parent 768adfb337
commit 2ee506ac03
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ class Network(util.DaemonThread):
self.config.set_key("proxy", proxy_str, False)
self.config.set_key("server", server, True)
# abort if changes were not allowed by config
if self.config.get('server') != server_str or self.config.get('proxy') != proxy_str:
if self.config.get('server') != server or self.config.get('proxy') != proxy_str:
return
self.auto_connect = auto_connect