Skip to content

Commit

Permalink
Less confusing exception if pillow() function fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Jul 29, 2024
1 parent 4ba7fa0 commit c75b506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def pillow(fn, arg):
finally:
if prev_value is not None:
ImageFile.LOAD_TRUNCATED_IMAGES = prev_value
return x
return x

def hasher():
hashfuncs = {
Expand Down

0 comments on commit c75b506

Please sign in to comment.