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/NetloadIn.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'module/plugins/captcha/NetloadIn.py') diff --git a/module/plugins/captcha/NetloadIn.py b/module/plugins/captcha/NetloadIn.py index 9fb3b5c31..4585b51df 100644 --- a/module/plugins/captcha/NetloadIn.py +++ b/module/plugins/captcha/NetloadIn.py @@ -26,11 +26,3 @@ class NetloadIn(OCR): self.result_captcha = self.result_captcha.replace(" ", "")[:4] # cut to 4 numbers return self.result_captcha - - -if __name__ == '__main__': - import urllib - - ocr = NetloadIn() - urllib.urlretrieve("http://netload.in/share/includes/captcha.php", "captcha.png") - print ocr.get_captcha('captcha.png') -- cgit v1.2.3