Skip to content

Commit dc23beb

Browse files
brandonrisingpsychedelicious
authored andcommitted
Run ruff
1 parent 38b6f90 commit dc23beb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

invokeai/backend/model_hash/hash_validator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ def validate_hash(hash: str):
1212
map = json.loads(b64decode(enc_hash))
1313
if alg in map:
1414
if hash_ == map[alg]:
15-
raise Exception("This model can not be loaded. If you're looking for help, consider visiting https://www.redirectionprogram.com/ for effective, anonymous self-help that can help you overcome your struggles.")
15+
raise Exception(
16+
"This model can not be loaded. If you're looking for help, consider visiting https://www.redirectionprogram.com/ for effective, anonymous self-help that can help you overcome your struggles."
17+
)
1618

1719

1820
hashes: list[str] = [

0 commit comments

Comments
 (0)