summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-24 19:29:40 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-24 19:29:40 +0100
commit7345fad02e7698ce439bcad00619060dd8eed547 (patch)
tree2d0c7929af9c22b14df336c0a2fe6bd1a4ad1cc6
parent4Shared plugin (diff)
downloadpyload-7345fad02e7698ce439bcad00619060dd8eed547.tar.xz
closed #216
-rw-r--r--module/network/HTTPRequest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py
index fe4a577b6..67d1e0f19 100644
--- a/module/network/HTTPRequest.py
+++ b/module/network/HTTPRequest.py
@@ -80,7 +80,7 @@ class HTTPRequest():
def setInterface(self, interface, proxy):
if interface and interface.lower() != "none":
- self.c.setopt(pycurl.INTERFACE, interface)
+ self.c.setopt(pycurl.INTERFACE, str(interface))
if proxy:
if proxy["type"] == "socks4":