diff options
author | stefanos <antispam-github-com@trash-mail.com> | 2013-06-12 22:52:27 +0200 |
---|---|---|
committer | stefanos <antispam-github-com@trash-mail.com> | 2013-06-12 22:52:27 +0200 |
commit | 845918643751ec7a16c4fd00c50bbd6d315177df (patch) | |
tree | 1f3f3b37e4b4c9c9585ecbeb87011c898cbc54f1 /module | |
parent | Update Captcha9kw.py (diff) | |
download | pyload-845918643751ec7a16c4fd00c50bbd6d315177df.tar.xz |
Update Captcha9kw.py
corrected self.timeout to self.getConfig("timeout")
Diffstat (limited to 'module')
-rwxr-xr-x | module/plugins/hooks/Captcha9kw.py | 4 |
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:
|