diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-05 19:47:57 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-05 19:47:57 +0200 |
commit | 5a22e614eb4ab920980cc989f27d39c349a39920 (patch) | |
tree | b4cfe2c0e9e10d27140d0627d8acb28ed2fc0cb3 /module/plugins/captcha | |
parent | netload free user fix and premium (diff) | |
download | pyload-5a22e614eb4ab920980cc989f27d39c349a39920.tar.xz |
hook config interface
Diffstat (limited to 'module/plugins/captcha')
-rw-r--r-- | module/plugins/captcha/NetloadIn.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/captcha/NetloadIn.py b/module/plugins/captcha/NetloadIn.py index c99a0744c..75f3f2e8b 100644 --- a/module/plugins/captcha/NetloadIn.py +++ b/module/plugins/captcha/NetloadIn.py @@ -10,7 +10,9 @@ class NetloadIn(OCR): self.clean(3) self.clean(3) self.run_tesser(True, True, False, False) - + + self.result_captcha = self.result_captcha.replace(" ", "")[:4] # cut to 4 numbers + return self.result_captcha if __name__ == '__main__': |