diff --git a/invokeai/backend/model_hash/hash_validator.py b/invokeai/backend/model_hash/hash_validator.py index 2064b74a925..8c387885147 100644 --- a/invokeai/backend/model_hash/hash_validator.py +++ b/invokeai/backend/model_hash/hash_validator.py @@ -3,7 +3,7 @@ def validate_hash(hash: str): - if not ":" in hash: + if ":" not in hash: return for enc_hash in hashes: alg, hash_ = hash.split(":")