From cedfbde86de423b8f004299af9f8ab60606cb790 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 20 Jul 2014 03:26:43 +0200 Subject: Remove testcodes in captcha plugins --- module/plugins/captcha/ShareonlineBiz.py | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'module/plugins/captcha/ShareonlineBiz.py') diff --git a/module/plugins/captcha/ShareonlineBiz.py b/module/plugins/captcha/ShareonlineBiz.py index 73ec4a7e0..44ea6a187 100644 --- a/module/plugins/captcha/ShareonlineBiz.py +++ b/module/plugins/captcha/ShareonlineBiz.py @@ -1,21 +1,4 @@ # -*- coding: utf-8 -*- -# -#Copyright (C) 2009 kingzero, RaNaN -# -#This program is free software; you can redistribute it and/or modify -#it under the terms of the GNU General Public License as published by -#the Free Software Foundation; either version 3 of the License, -#or (at your option) any later version. -# -#This program is distributed in the hope that it will be useful, -#but WITHOUT ANY WARRANTY; without even the implied warranty of -#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -#See the GNU General Public License for more details. -# -#You should have received a copy of the GNU General Public License -# along with this program; if not, see . -# -### from captcha import OCR @@ -53,11 +36,3 @@ class ShareonlineBiz(OCR): return final #tesseract at 60% - - -if __name__ == '__main__': - import urllib - - ocr = ShareonlineBiz() - urllib.urlretrieve("http://www.share-online.biz/captcha.php", "captcha.jpeg") - print ocr.get_captcha('captcha.jpeg') -- cgit v1.2.3