1.1 --- a/OpenSecurity/bin/opensecurity_tray.pyw Thu Jul 24 11:57:00 2014 +0200
1.2 +++ b/OpenSecurity/bin/opensecurity_tray.pyw Wed Sep 24 16:40:43 2014 +0100
1.3 @@ -119,6 +119,9 @@
1.4 except EnvironmentError:
1.5 break
1.6 _winreg.CloseKey(aKey)
1.7 +
1.8 + if 'AutoConfigURL' in reg_entries.keys():
1.9 + return {'ProxyAutoConfigURL': reg_entries['AutoConfigURL']}
1.10
1.11 if 'ProxyEnable' in reg_entries.keys() and reg_entries['ProxyEnable'] == 1:
1.12 proxy_search = re.search(r"(?<=http=)(?P<ProxyServer>.*?)(?=;)", reg_entries['ProxyServer'])
1.13 @@ -127,6 +130,7 @@
1.14 if 'ProxyServer' in proxies.keys(): # found http proxy
1.15 return {'ProxyServer': proxies['ProxyServer']}
1.16 return {'ProxyServer': reg_entries['ProxyServer']}
1.17 +
1.18 return None
1.19
1.20 def clicked_browser(self):