summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-02-20 21:39:20 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-02-20 21:39:20 +0100
commitffce17b2aa5760c093aca58302c4f68de5df99a9 (patch)
tree832a476d84bbcea6b2e05c47bd01c9c37756172f /module
parentSpare code cosmetics (diff)
downloadpyload-ffce17b2aa5760c093aca58302c4f68de5df99a9.tar.xz
[Checksum] Update
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/Checksum.py3
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']: