Fix: Issue6853 - Get HTTPS system proxy in Windows.

This commit is contained in:
Senthil Kumaran 2010-07-14 19:15:23 +00:00
parent 4988d7a375
commit e4004a653c
1 changed files with 1 additions and 0 deletions

View File

@ -2279,6 +2279,7 @@ elif os.name == 'nt':
proxies['http'] = proxyServer
else:
proxies['http'] = 'http://%s' % proxyServer
proxies['https'] = 'http://%s' % proxyServer
proxies['ftp'] = 'ftp://%s' % proxyServer
internetSettings.Close()
except (WindowsError, ValueError, TypeError):