This commit is contained in:
Brandon Rising 2024-06-18 09:40:01 -04:00 committed by Brandon
parent fbc5a8ec65
commit 63a7e19dbf

View File

@ -3,7 +3,7 @@ from base64 import b64decode
def validate_hash(hash: str):
if not ":" in hash:
if ":" not in hash:
return
for enc_hash in hashes:
alg, hash_ = hash.split(":")