typo
This commit is contained in:
parent
e4e6a2ff3a
commit
5b5cb0f2c4
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def getImageHash(image_file, mode):
|
|||
image_hash = hex(image_hash)[2:].upper()
|
||||
if image_hash.endswith('L'):
|
||||
image_hash = image_hash[:-1]
|
||||
image_hash = '0' * (16 - len(h)) + h
|
||||
image_hash = '0' * (16 - len(image_hash)) + image_hash
|
||||
return image_hash
|
||||
|
||||
def getImageHeat(image_file):
|
||||
|
|
Loading…
Reference in a new issue