diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-05 00:57:14 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-05 00:57:14 +0200 |
commit | bd4beeeefff3f9de7ece2cdcc6a619154bc3d83b (patch) | |
tree | 8126fe2f5416371b871d704f63c07e4cb0313e64 /module/network/HTTPRequest.py | |
parent | fixed some bugs, new externalscripts plugin (diff) | |
download | pyload-bd4beeeefff3f9de7ece2cdcc6a619154bc3d83b.tar.xz |
sj fix
Diffstat (limited to 'module/network/HTTPRequest.py')
-rw-r--r-- | module/network/HTTPRequest.py | 2 |
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, "") |