diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-02-20 21:39:20 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-02-20 21:39:20 +0100 |
commit | ffce17b2aa5760c093aca58302c4f68de5df99a9 (patch) | |
tree | 832a476d84bbcea6b2e05c47bd01c9c37756172f /module | |
parent | Spare code cosmetics (diff) | |
download | pyload-ffce17b2aa5760c093aca58302c4f68de5df99a9.tar.xz |
[Checksum] Update
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hooks/Checksum.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py index 161c10253..cb4452c68 100644 --- a/module/plugins/hooks/Checksum.py +++ b/module/plugins/hooks/Checksum.py @@ -38,7 +38,7 @@ def compute_checksum(local_file, algorithm): class Checksum(Addon): __name__ = "Checksum" __type__ = "hook" - __version__ = "0.26" + __version__ = "0.27" __status__ = "broken" __config__ = [("activated" , "bool" , "Activated" , False ), @@ -123,6 +123,7 @@ class Checksum(Addon): self.log_debug(data) #: Validate checksum if data and self.config.get('check_checksum'): + data['hash'] = data.get('hash', {}) for key in self.algorithms: if key in data and not key in data['hash']: |