summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-26 21:11:27 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-26 21:11:27 +0200
commit3cc8e9491004868e6302339562c8266285236f54 (patch)
tree0b1ebef5c586586a63883ca6bf681105e433ff7f /module/plugins/Plugin.py
parentprocessing some plugins in collector (diff)
downloadpyload-3cc8e9491004868e6302339562c8266285236f54.tar.xz
display correct file size when starting
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index a12dfa686..27e54cdc2 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -235,7 +235,9 @@ class Plugin(object):
task.removeTask()
#temp.unlink(temp.name)
self.fail(_("No Client connected for captcha decrypting, or pil and tesseract not installed"))
- if self.pyfile.abort: raise Abort
+ if self.pyfile.abort:
+ task.removeTask()
+ raise Abort
sleep(1)
result = task.getResult()
task.removeTask()