summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/Checksum.py
diff options
context:
space:
mode:
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 53b9b4e9f..4b1380506 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")]