summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/Checksum.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-08 06:32:02 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-08 06:32:02 +0200
commit570f37674434c7f3816e3949967c31407610da6c (patch)
tree2175692750df20384073da4a6b26ef013f1d843b /module/plugins/hooks/Checksum.py
parentNew plugin: LogMarker (diff)
downloadpyload-570f37674434c7f3816e3949967c31407610da6c.tar.xz
Spare improvements
Diffstat (limited to 'module/plugins/hooks/Checksum.py')
-rw-r--r--module/plugins/hooks/Checksum.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py
index fe866563d..4d0493212 100644
--- a/module/plugins/hooks/Checksum.py
+++ b/module/plugins/hooks/Checksum.py
@@ -41,11 +41,12 @@ class Checksum(Addon):
__version__ = "0.22"
__status__ = "testing"
- __config__ = [("check_checksum", "bool" , "Check checksum? (If False only size will be verified)", True ),
- ("check_action" , "fail;retry;nothing", "What to do if check fails?" , "retry"),
- ("max_tries" , "int" , "Number of retries" , 2 ),
- ("retry_action" , "fail;nothing" , "What to do if all retries fail?" , "fail" ),
- ("wait_time" , "int" , "Time to wait before each retry (seconds)" , 1 )]
+ __config__ = [("activated" , "bool" , "Activated" , False ),
+ ("check_checksum", "bool" , "Check checksum? (If False only size will be verified)", True ),
+ ("check_action" , "fail;retry;nothing", "What to do if check fails?" , "retry"),
+ ("max_tries" , "int" , "Number of retries" , 2 ),
+ ("retry_action" , "fail;nothing" , "What to do if all retries fail?" , "fail" ),
+ ("wait_time" , "int" , "Time to wait before each retry (seconds)" , 1 )]
__description__ = """Verify downloaded file size and checksum"""
__license__ = "GPLv3"