diff --git a/pandora/sequence/extract.py b/pandora/sequence/extract.py index 47697c650..85a73fcdf 100644 --- a/pandora/sequence/extract.py +++ b/pandora/sequence/extract.py @@ -49,7 +49,7 @@ def get_hash(image, 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 get_sequences(path, position=0):