summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-01-31 23:46:36 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-01-31 23:46:36 +0100
commitf263d18eff143982095c829cc86858c8025247a5 (patch)
treec183ad531a3f1e6b3d72c89601efd524d1b08b01 /module/network
parentproxy fix (diff)
downloadpyload-f263d18eff143982095c829cc86858c8025247a5.tar.xz
really fixed proxy support
Diffstat (limited to 'module/network')
-rw-r--r--module/network/HTTPRequest.py4
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"]: