summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar stefanos <antispam-github-com@trash-mail.com> 2013-06-12 22:52:27 +0200
committerGravatar stefanos <antispam-github-com@trash-mail.com> 2013-06-12 22:52:27 +0200
commit845918643751ec7a16c4fd00c50bbd6d315177df (patch)
tree1f3f3b37e4b4c9c9585ecbeb87011c898cbc54f1 /module
parentUpdate Captcha9kw.py (diff)
downloadpyload-845918643751ec7a16c4fd00c50bbd6d315177df.tar.xz
Update Captcha9kw.py
corrected self.timeout to self.getConfig("timeout")
Diffstat (limited to 'module')
-rwxr-xr-xmodule/plugins/hooks/Captcha9kw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/Captcha9kw.py b/module/plugins/hooks/Captcha9kw.py
index 25ca3b05f..755e2519a 100755
--- a/module/plugins/hooks/Captcha9kw.py
+++ b/module/plugins/hooks/Captcha9kw.py
@@ -77,7 +77,7 @@ class Captcha9kw(Hook):
"prio": self.getConfig("prio"),
"confirm": self.getConfig("confirm"),
"captchaperhour": self.getConfig("captchaperhour"),
- "maxtimeout": self.timeout,
+ "maxtimeout": self.getConfig("timeout"),
"pyload": "1",
"source": "pyload",
"base64": "1",
@@ -116,7 +116,7 @@ class Captcha9kw(Hook):
if self.getCredits() > 0:
task.handler.append(self)
- task.setWaiting(self.timeout)
+ task.setWaiting(self.getConfig("timeout"))
start_new_thread(self.processCaptcha, (task,))
else: