mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Run ruff
This commit is contained in:
parent
fbc5a8ec65
commit
63a7e19dbf
@ -3,7 +3,7 @@ from base64 import b64decode
|
|||||||
|
|
||||||
|
|
||||||
def validate_hash(hash: str):
|
def validate_hash(hash: str):
|
||||||
if not ":" in hash:
|
if ":" not in hash:
|
||||||
return
|
return
|
||||||
for enc_hash in hashes:
|
for enc_hash in hashes:
|
||||||
alg, hash_ = hash.split(":")
|
alg, hash_ = hash.split(":")
|
||||||
|
Loading…
Reference in New Issue
Block a user