diff --git a/lib/core/option.py b/lib/core/option.py index 1555d693c..7e3f878e6 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -989,6 +989,7 @@ def _setHTTPProxy(): """ Check and set the HTTP/SOCKS proxy for all HTTP requests. """ + global proxyHandler if not conf.proxy: if conf.proxyList: