summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Jochen Oberreiter <joberreiter@users.noreply.github.com> 2015-08-11 14:33:12 +0200
committerGravatar Jochen Oberreiter <joberreiter@users.noreply.github.com> 2015-08-11 14:33:12 +0200
commit4532ccc304ba666d79b1cc783a11eeb6f8e7cedc (patch)
treed8fd79f13ba6ae042e4c3ca9d4d9016474b5e710 /module
parentChange comparison from identity to equality (diff)
downloadpyload-4532ccc304ba666d79b1cc783a11eeb6f8e7cedc.tar.xz
Minor change to log output
Using `data[key].lower()` instead of `data[key]` to synchronize it with the comparison itself.
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/Checksum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py
index d47c561eb..da4d35df1 100644
--- a/module/plugins/hooks/Checksum.py
+++ b/module/plugins/hooks/Checksum.py
@@ -139,7 +139,7 @@ class Checksum(Addon):
break
else:
self.log_warning(_("%s checksum for file %s does not match (%s != %s)") %
- (key.upper(), pyfile.name, checksum, data[key]))
+ (key.upper(), pyfile.name, checksum, data[key].lower()))
self.check_failed(pyfile, local_file, "Checksums do not match")
else:
self.log_warning(_("Unsupported hashing algorithm"), key.upper())