From 2e4f84afb8ae79241c805e441281ff14a2c50783 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 28 Jul 2015 00:14:43 +0200 Subject: Fix https://github.com/pyload/pyload/pull/1564 (thx Nippey) --- module/plugins/internal/Captcha.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/internal/Captcha.py') diff --git a/module/plugins/internal/Captcha.py b/module/plugins/internal/Captcha.py index 8ba1a1829..57105caea 100644 --- a/module/plugins/internal/Captcha.py +++ b/module/plugins/internal/Captcha.py @@ -46,13 +46,13 @@ class Captcha(Plugin): def decrypt(self, url, get={}, post={}, ref=False, cookies=False, decode=False, - input_type='jpg', output_type='textual', ocr=True, timeout=300): + input_type='jpg', output_type='textual', ocr=True, timeout=120): img = self.load(url, get=get, post=post, ref=ref, cookies=cookies, decode=decode) return self._decrypt(img, input_type, output_type, ocr, timeout) #@TODO: Definitely choose a better name for this method! - def _decrypt(self, raw, input_type='jpg', output_type='textual', ocr=None, timeout=300): + def _decrypt(self, raw, input_type='jpg', output_type='textual', ocr=None, timeout=120): """ Loads a captcha and decrypts it with ocr, plugin, user input -- cgit v1.2.3