diff options
author | Jochen Oberreiter <joberreiter@users.noreply.github.com> | 2015-08-11 14:33:12 +0200 |
---|---|---|
committer | Jochen Oberreiter <joberreiter@users.noreply.github.com> | 2015-08-11 14:33:12 +0200 |
commit | 4532ccc304ba666d79b1cc783a11eeb6f8e7cedc (patch) | |
tree | d8fd79f13ba6ae042e4c3ca9d4d9016474b5e710 /module | |
parent | Change comparison from identity to equality (diff) | |
download | pyload-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.py | 2 |
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()) |