summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-06-16 22:57:05 +0200
committerGravatar spoob <spoob@gmx.de> 2009-06-16 22:57:05 +0200
commit3a04eba163f0c577ebfd29c160826d5226019375 (patch)
tree78772fa860f5bc63793565301bf2b768565884e7 /module/network
parentremoved wait time for Zippyshare.com (diff)
downloadpyload-3a04eba163f0c577ebfd29c160826d5226019375.tar.xz
fixed request bug
Diffstat (limited to 'module/network')
-rwxr-xr-xmodule/network/Request.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 2b3545dd8..0b518cf66 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -130,11 +130,10 @@ class Request:
if cookies:
self.add_cookies(req)
#add cookies
+ rep = self.opener.open(req)
- rep = self.opener.open(req)
-
- for cookie in self.cj.make_cookies(rep, req):
- self.cookies.append(cookie)
+ for cookie in self.cj.make_cookies(rep, req):
+ self.cookies.append(cookie)
if not self.dl:
self.dl = True