summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
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"]: