Update conf.py

This commit is contained in:
Junaid Loonat 2016-04-25 23:21:46 +02:00
parent c211c60e52
commit 7be7b98e68

View File

@ -1190,10 +1190,10 @@ class HttpProxy(registry.String):
'http': v,
'https': v
}
proxyHandler = ProxyHandler(proxies)
proxyOpenerDirector = build_opener(proxyHandler)
install_opener(proxyOpenerDirector)
super(HttpProxy, self).setValue(v)
proxyHandler = ProxyHandler(proxies)
proxyOpenerDirector = build_opener(proxyHandler)
install_opener(proxyOpenerDirector)
super(HttpProxy, self).setValue(v)
registerGlobalValue(supybot.protocols.http, 'proxy',
HttpProxy('', _("""Determines what proxy all HTTP requests should go