summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPRequest.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-05 00:57:14 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-05 00:57:14 +0200
commitbd4beeeefff3f9de7ece2cdcc6a619154bc3d83b (patch)
tree8126fe2f5416371b871d704f63c07e4cb0313e64 /module/network/HTTPRequest.py
parentfixed some bugs, new externalscripts plugin (diff)
downloadpyload-bd4beeeefff3f9de7ece2cdcc6a619154bc3d83b.tar.xz
sj fix
Diffstat (limited to 'module/network/HTTPRequest.py')
-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 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, "")