diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-21 08:50:26 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-24 22:43:08 +0200 |
commit | e4fb45b22d36595839e8f638a3f0a4669dba3e8d (patch) | |
tree | 549ba2a4f6e23a7178b8f91c79e0c037b36412ca /module/plugins/hooks/Checksum.py | |
parent | Spare code cosmetics (3) (diff) | |
download | pyload-e4fb45b22d36595839e8f638a3f0a4669dba3e8d.tar.xz |
Spare code cosmetics (4)
Diffstat (limited to 'module/plugins/hooks/Checksum.py')
-rw-r--r-- | module/plugins/hooks/Checksum.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py index df81be384..409387c39 100644 --- a/module/plugins/hooks/Checksum.py +++ b/module/plugins/hooks/Checksum.py @@ -40,11 +40,11 @@ class Checksum(Hook): __type__ = "hook" __version__ = "0.17" - __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__ = [("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" |