diff options
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:
 | 
