diff options
author | mkaay <mkaay@mkaay.de> | 2011-01-31 23:46:36 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-01-31 23:46:36 +0100 |
commit | f263d18eff143982095c829cc86858c8025247a5 (patch) | |
tree | c183ad531a3f1e6b3d72c89601efd524d1b08b01 /module/network | |
parent | proxy fix (diff) | |
download | pyload-f263d18eff143982095c829cc86858c8025247a5.tar.xz |
really fixed proxy support
Diffstat (limited to 'module/network')
-rw-r--r-- | module/network/HTTPRequest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py index 25563cd72..13e76d5a2 100644 --- a/module/network/HTTPRequest.py +++ b/module/network/HTTPRequest.py @@ -89,8 +89,8 @@ class HTTPRequest(): self.c.setopt(pycurl.PROXYTYPE, pycurl.PROXYTYPE_SOCKS5) else: self.c.setopt(pycurl.PROXYTYPE, pycurl.PROXYTYPE_HTTP) - - self.c.setopt(pycurl.PROXY, proxy["address"]) + + self.c.setopt(pycurl.PROXY, str(proxy["address"])) #unicode issues... self.c.setopt(pycurl.PROXYPORT, proxy["port"]) if proxy["username"]: |