diff options
author | 2014-10-07 18:57:59 +0200 | |
---|---|---|
committer | 2014-10-07 18:57:59 +0200 | |
commit | b0868ae6446078bacf1635dde5e4ab316b4a94cb (patch) | |
tree | 1f5eb9bf4dfd413b954b2ea87749cd10da19de0e /module/plugins/hooks/Checksum.py | |
parent | [SimpleCrypter][SimpleHoster] Better exception handling (diff) | |
download | pyload-b0868ae6446078bacf1635dde5e4ab316b4a94cb.tar.xz |
New __authors__ key replaces __author_name__ and __author_mail__ + Whitespaces and EOF fixup
Diffstat (limited to 'module/plugins/hooks/Checksum.py')
-rw-r--r-- | module/plugins/hooks/Checksum.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py index 525eb8150..dddae5ed0 100644 --- a/module/plugins/hooks/Checksum.py +++ b/module/plugins/hooks/Checksum.py @@ -50,8 +50,10 @@ class Checksum(Hook): ("wait_time", "int", "Time to wait before each retry (seconds)", 1)] __description__ = """Verify downloaded file size and checksum""" - __author_name__ = ("zoidberg", "Walter Purcaro", "stickell") - __author_mail__ = ("zoidberg@mujmail.cz", "vuolter@gmail.com", "l.stickell@yahoo.it") + __authors__ = [("zoidberg", "zoidberg@mujmail.cz"), + ("Walter Purcaro", "vuolter@gmail.com"), + ("stickell", "l.stickell@yahoo.it")] + methods = {'sfv': 'crc32', 'crc': 'crc32', 'hash': 'md5'} regexps = {'sfv': r'^(?P<name>[^;].+)\s+(?P<hash>[0-9A-Fa-f]{8})$', |