diff options
| author | 2011-06-27 19:41:03 +0200 | |
|---|---|---|
| committer | 2011-06-27 19:41:03 +0200 | |
| commit | cf8fea4179a673ffe2ec50de3a5d948a61f849aa (patch) | |
| tree | a24f3be129904f22836b8caa7fdca33cf0d7547a /module/plugins/hooks | |
| parent | DepositFiles lang fix (diff) | |
| download | pyload-cf8fea4179a673ffe2ec50de3a5d948a61f849aa.tar.xz | |
Shareonline, zshare fix, testing __slots__ attribute
Diffstat (limited to 'module/plugins/hooks')
| -rw-r--r-- | module/plugins/hooks/CaptchaTrader.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/module/plugins/hooks/CaptchaTrader.py b/module/plugins/hooks/CaptchaTrader.py index 00f517751..af6626897 100644 --- a/module/plugins/hooks/CaptchaTrader.py +++ b/module/plugins/hooks/CaptchaTrader.py @@ -76,6 +76,7 @@ class CaptchaTrader(Hook):          #if type(captcha) == str and captchaType == "file":          #    raise CaptchaTraderException("Invalid Type")          assert captchaType in ("file", "url-jpg", "url-jpeg", "url-png", "url-bmp") +        #todo more timeout          json = getURL(CaptchaTrader.SUBMIT_URL, post={"api_key": PYLOAD_KEY,                                                             "username": self.getConfig("username"),                                                             "password": self.getConfig("passkey"), @@ -112,7 +113,7 @@ class CaptchaTrader(Hook):          if self.getCredits() > 10:              task.handler.append(self) -            task.setWaiting(40) +            task.setWaiting(100)              start_new_thread(self.processCaptcha, (task,))          else: | 
