Skip to content

Commit

Permalink
Run ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrising committed Jun 18, 2024
1 parent a8295ae commit cf2134d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invokeai/backend/model_hash/hash_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(":")
Expand Down

0 comments on commit cf2134d

Please sign in to comment.