summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/Checksum.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:29:00 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:29:00 +0100
commitc3b406a00aba3fa549676a8181a5eb2a99d77c87 (patch)
treedc9c76f31e4c0baec0a53b6e2bd03182de08f518 /pyload/plugin/addon/Checksum.py
parentCleanup (diff)
downloadpyload-c3b406a00aba3fa549676a8181a5eb2a99d77c87.tar.xz
Diffstat (limited to 'pyload/plugin/addon/Checksum.py')
-rw-r--r--pyload/plugin/addon/Checksum.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/pyload/plugin/addon/Checksum.py b/pyload/plugin/addon/Checksum.py
index 4b1380506..53b9b4e9f 100644
--- a/pyload/plugin/addon/Checksum.py
+++ b/pyload/plugin/addon/Checksum.py
@@ -38,20 +38,20 @@ def computeChecksum(local_file, algorithm):
class Checksum(Addon):
- __name__ = "Checksum"
- __type__ = "addon"
- __version__ = "0.16"
+ __name = "Checksum"
+ __type = "addon"
+ __version = "0.16"
- __config__ = [("activated" , "bool" , "Activated" , True ),
+ __config = [("activated" , "bool" , "Activated" , True ),
("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"
- __authors__ = [("zoidberg" , "zoidberg@mujmail.cz"),
+ __description = """Verify downloaded file size and checksum"""
+ __license = "GPLv3"
+ __authors = [("zoidberg" , "zoidberg@mujmail.cz"),
("Walter Purcaro", "vuolter@gmail.com" ),
("stickell" , "l.stickell@yahoo.it")]