From 97fe5e52c29228b022c8b9c79742039fc02ef3e1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 18 Mar 2014 16:41:05 +0100 Subject: [PATCH] Fix for an Issue #644 --- lib/core/option.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/core/option.py b/lib/core/option.py index bd89c64ce..b7f59e216 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1000,6 +1000,10 @@ def _setHTTPProxy(): """ global proxyHandler + for _ in ("http", "https"): + if hasattr(proxyHandler, "%s_open" % _): + delattr(proxyHandler, "%s_open" % _) + if not conf.proxy: if conf.proxyList: conf.proxy = conf.proxyList[0]