summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/Checksum.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 16:52:10 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 16:52:10 +0100
commit34984dae733c3f3d47b41a0acfba3724d53c65a1 (patch)
treec8d970f64dacfc64cb72bf82c85d7467c99f7264 /module/plugins/hooks/Checksum.py
parentUpdate plugins to last changes (diff)
downloadpyload-34984dae733c3f3d47b41a0acfba3724d53c65a1.tar.xz
Code cosmetics: plugin class attributes
Diffstat (limited to 'module/plugins/hooks/Checksum.py')
-rw-r--r--module/plugins/hooks/Checksum.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py
index b19700206..fe2efdb41 100644
--- a/module/plugins/hooks/Checksum.py
+++ b/module/plugins/hooks/Checksum.py
@@ -38,8 +38,8 @@ def computeChecksum(local_file, algorithm):
class Checksum(Hook):
- __name__ = "Checksum"
- __type__ = "hook"
+ __name__ = "Checksum"
+ __type__ = "hook"
__version__ = "0.13"
__config__ = [("check_checksum", "bool", "Check checksum? (If False only size will be verified)", True),
@@ -49,10 +49,10 @@ class Checksum(Hook):
("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"),
- ("Walter Purcaro", "vuolter@gmail.com"),
- ("stickell", "l.stickell@yahoo.it")]
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz"),
+ ("Walter Purcaro", "vuolter@gmail.com"),
+ ("stickell", "l.stickell@yahoo.it")]
methods = {'sfv': 'crc32', 'crc': 'crc32', 'hash': 'md5'}