From bd4beeeefff3f9de7ece2cdcc6a619154bc3d83b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 5 Jul 2011 00:57:14 +0200 Subject: sj fix --- module/network/HTTPRequest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/network/HTTPRequest.py') diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py index 6707cc70e..bd04ac3cf 100644 --- a/module/network/HTTPRequest.py +++ b/module/network/HTTPRequest.py @@ -147,7 +147,7 @@ class HTTPRequest(): self.c.setopt(pycurl.POST, 0) if referer and self.lastURL: - self.c.setopt(pycurl.REFERER, self.lastURL) + self.c.setopt(pycurl.REFERER, str(self.lastURL)) if cookies: self.c.setopt(pycurl.COOKIEFILE, "") -- cgit v1.2.3