summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-17 00:20:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-17 00:20:38 +0200
commit746f877329bd8d62f58a3dbb2bdc5f2cd34c3d6a (patch)
treed549575edc2d9edcdb6b599ba44f3087d1eb2b6a /module/plugins/Plugin.py
parentFreakshareNet, HotfileCom, StorageTo (diff)
downloadpyload-746f877329bd8d62f58a3dbb2bdc5f2cd34c3d6a.tar.xz
hotfile improvements
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index f64a5defb..dfdfbe4f6 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -204,7 +204,6 @@ class Plugin(object):
Ocr = self.core.pluginManager.getCaptchaPlugin(self.__name__)
if Ocr and not forceUser:
sleep(randint(3000, 5000) / 1000.0)
-
if self.pyfile.abort: raise Abort
ocr = Ocr()
@@ -220,6 +219,7 @@ class Plugin(object):
task.removeTask()
#temp.unlink(temp.name)
self.fail(_("No Client connected for captcha decrypting."))
+ if self.pyfile.abort: raise Abort
sleep(1)
result = task.getResult()
task.removeTask()