summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/ShareonlineBiz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-23 23:44:45 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-23 23:44:45 +0200
commit6af9b38a8d5d49355b85aef6ddd003605d6bba05 (patch)
treecbfb5b2212cab406ba75b3acd553879311e9153f /module/plugins/captcha/ShareonlineBiz.py
parentCode cosmetics (diff)
downloadpyload-6af9b38a8d5d49355b85aef6ddd003605d6bba05.tar.xz
Improve Captcha
Diffstat (limited to 'module/plugins/captcha/ShareonlineBiz.py')
-rw-r--r--module/plugins/captcha/ShareonlineBiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/captcha/ShareonlineBiz.py b/module/plugins/captcha/ShareonlineBiz.py
index 7f25f164d..98994b121 100644
--- a/module/plugins/captcha/ShareonlineBiz.py
+++ b/module/plugins/captcha/ShareonlineBiz.py
@@ -14,7 +14,7 @@ class ShareonlineBiz(OCR):
__authors__ = [("RaNaN", "RaNaN@pyload.org")]
- def get_captcha(self, image):
+ def recognize(self, image):
self.load_image(image)
self.to_greyscale()
self.image = self.image.resize((160, 50))