summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/SkipRev.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-02 16:35:12 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-02 16:35:12 +0100
commita611ddfd1d8e4a85b2066cc45bc51682ac10a5f7 (patch)
treed1a5ce1ddd8c41de54c1f759cbb1d420609196de /module/plugins/hooks/SkipRev.py
parent[ShareonlineBiz] Fix getInfo (diff)
downloadpyload-a611ddfd1d8e4a85b2066cc45bc51682ac10a5f7.tar.xz
[SkipRev] Fixup 1
Diffstat (limited to 'module/plugins/hooks/SkipRev.py')
-rw-r--r--module/plugins/hooks/SkipRev.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/SkipRev.py b/module/plugins/hooks/SkipRev.py
index 3b3b450fe..e9cfa2ec5 100644
--- a/module/plugins/hooks/SkipRev.py
+++ b/module/plugins/hooks/SkipRev.py
@@ -9,10 +9,10 @@ from module.plugins.Plugin import SkipDownload
class SkipRev(Hook):
__name__ = "SkipRev"
__type__ = "hook"
- __version__ = "0.08"
+ __version__ = "0.09"
- __config__ = [("auto", "bool", "Automatically keep all rev files needed by package", True)
- ("tokeep", "int" , "Min number of rev files to keep for package" , 1),
+ __config__ = [("auto", "bool", "Automatically keep all rev files needed by package", True),
+ ("tokeep", "int" , "Min number of rev files to keep for package" , 1),
("unskip", "bool", "Restart a skipped rev when download fails" , True)]
__description__ = """Skip files ending with extension rev"""
@@ -53,4 +53,4 @@ class SkipRev(Hook):
for link in pyfile.package().getChildren():
if link.hasStatus("skipped") and REV.search(link.name):
link.setCustomStatus("unskipped", "queued")
- break
+ return