summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/Checksum.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 10:29:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 10:29:55 +0200
commitd60040cdc406b0541f0b3f9681a09894f845ba2b (patch)
tree69be3f4730c9ef4cf9f98f5b9ae17157a88abc85 /pyload/plugin/addon/Checksum.py
parentCleanup + fixup + new lib (diff)
downloadpyload-d60040cdc406b0541f0b3f9681a09894f845ba2b.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")]