From c3b406a00aba3fa549676a8181a5eb2a99d77c87 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 26 Mar 2015 18:29:00 +0100 Subject: Revert ce103ce1e60661f7bcdf6a033335134de61d48b1 --- pyload/plugin/addon/Checksum.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pyload/plugin/addon/Checksum.py') 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")] -- cgit v1.2.3