mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-11-17 08:07:26 +01:00
Update conf.py
This commit is contained in:
parent
c211c60e52
commit
7be7b98e68
@ -1190,10 +1190,10 @@ class HttpProxy(registry.String):
|
|||||||
'http': v,
|
'http': v,
|
||||||
'https': v
|
'https': v
|
||||||
}
|
}
|
||||||
proxyHandler = ProxyHandler(proxies)
|
proxyHandler = ProxyHandler(proxies)
|
||||||
proxyOpenerDirector = build_opener(proxyHandler)
|
proxyOpenerDirector = build_opener(proxyHandler)
|
||||||
install_opener(proxyOpenerDirector)
|
install_opener(proxyOpenerDirector)
|
||||||
super(HttpProxy, self).setValue(v)
|
super(HttpProxy, self).setValue(v)
|
||||||
|
|
||||||
registerGlobalValue(supybot.protocols.http, 'proxy',
|
registerGlobalValue(supybot.protocols.http, 'proxy',
|
||||||
HttpProxy('', _("""Determines what proxy all HTTP requests should go
|
HttpProxy('', _("""Determines what proxy all HTTP requests should go
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user