Fix hashlib function capitalization (#17323)
This commit is contained in:
parent
60283775b3
commit
6a77f1ff45
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def __init__(self, hexdigest, **kwargs):
|
|||
@property
|
||||
def hash_name(self):
|
||||
"""Get the name of the hash function this Checker is using."""
|
||||
return self.hash_fun().name
|
||||
return self.hash_fun().name.lower()
|
||||
|
||||
def check(self, filename):
|
||||
"""Read the file with the specified name and check its checksum
|
||||
|
|
Loading…
Reference in a new issue