mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Run ruff
This commit is contained in:
@@ -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(":")
|
||||
|
||||
Reference in New Issue
Block a user