diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-26 21:11:27 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-26 21:11:27 +0200 |
commit | 3cc8e9491004868e6302339562c8266285236f54 (patch) | |
tree | 0b1ebef5c586586a63883ca6bf681105e433ff7f /module/plugins/Plugin.py | |
parent | processing some plugins in collector (diff) | |
download | pyload-3cc8e9491004868e6302339562c8266285236f54.tar.xz |
display correct file size when starting
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
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() |