From 4532ccc304ba666d79b1cc783a11eeb6f8e7cedc Mon Sep 17 00:00:00 2001 From: Jochen Oberreiter Date: Tue, 11 Aug 2015 14:33:12 +0200 Subject: Minor change to log output Using `data[key].lower()` instead of `data[key]` to synchronize it with the comparison itself. --- module/plugins/hooks/Checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') 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()) -- cgit v1.2.3