summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Suárez Hernández <psuarezhernandez@suse.com>2022-08-01 12:29:49 +0100
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>2022-09-02 10:11:29 -0400
commit0c10f3007bfd01c581f259184834c2e128c8101f (patch)
tree38e21a3038c5ccfc2a597874ef1686fddced15d8
parent28d36387da2e8a8b5fb248183c36eff9dce5634a (diff)
downloadurlgrabber-0c10f3007bfd01c581f259184834c2e128c8101f.tar.gz
Avoid using system proxy when proxy set to _none_
-rw-r--r--urlgrabber/grabber.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
index 741234e..88237cc 100644
--- a/urlgrabber/grabber.py
+++ b/urlgrabber/grabber.py
@@ -996,7 +996,7 @@ class URLGrabberOptions:
elif scheme == 'https':
proxy = self.proxies.get('http')
if proxy == '_none_':
- proxy = None
+ proxy = ''
self.proxy = proxy
return