summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-10 12:31:32 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-10 12:31:32 +0200
commit24368686bc9aec5a7dfcf67c51e9ae6a58cf748f (patch)
tree52694c0951a8eaefd23385b66637e44dc5ff6055 /module/plugins
parentnetload fix (diff)
downloadpyload-24368686bc9aec5a7dfcf67c51e9ae6a58cf748f.tar.xz
netload fix no. 2
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/NetloadIn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index ff6761d79..a0f50cfeb 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -193,9 +193,9 @@ class NetloadIn(Hoster):
file_id = re.search('<input name="file_id" type="hidden" value="(.*)" />', page).group(1)
if not captchawaited:
wait = self.get_wait_time(page)
- if i == 0: self.waitUntil = time() # wait only 1 sec contrary to time on website
- else: self.waitUntil = t
- self.log.info(_("Netload: waiting for captcha %d s.") % (self.waitUntil - time()))
+ if i == 0: self.pyfile.waitUntil = time() # dont wait contrary to time on website
+ else: self.pyfile.waitUntil = t
+ self.log.info(_("Netload: waiting for captcha %d s.") % (self.pyfile.waitUntil - time()))
#self.setWait(wait)
self.wait()
captchawaited = True