summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-06 17:29:14 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-06 17:29:14 +0200
commitaa01ccf613a95b7b9f6e7b95a1c851c9383ae095 (patch)
tree0213d034f055a99ea0db686b760d20627cfd0f49 /module/plugins
parentAlign tabs to the left (settings page) (diff)
parentcontainer upload fix (diff)
downloadpyload-aa01ccf613a95b7b9f6e7b95a1c851c9383ae095.tar.xz
merge
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Plugin.py3
1 files changed, 3 insertions, 0 deletions
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: