From e401472c292205cd0ca4c286d8a3ec42982783ed Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 6 Aug 2010 17:28:41 +0200 Subject: container upload fix --- module/plugins/Plugin.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/plugins') diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 549caba22..516a3b772 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -195,6 +195,9 @@ class Plugin(object): Ocr = self.core.pluginManager.getCaptchaPlugin(self.__name__) if Ocr: sleep(randint(3000, 5000) / 1000.0) + + if self.pyfile.abort: raise Abort + ocr = Ocr() result = ocr.get_captcha(temp.name) else: -- cgit v1.2.3