From 7345fad02e7698ce439bcad00619060dd8eed547 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 24 Jan 2011 19:29:40 +0100 Subject: closed #216 --- module/network/HTTPRequest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') 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": -- cgit v1.2.3