Less confusing exception if pillow() function fails.

This commit is contained in:
comfyanonymous 2024-07-29 11:15:37 -04:00
parent 4ba7fa0244
commit c75b50607b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def pillow(fn, arg):
finally: finally:
if prev_value is not None: if prev_value is not None:
ImageFile.LOAD_TRUNCATED_IMAGES = prev_value ImageFile.LOAD_TRUNCATED_IMAGES = prev_value
return x return x
def hasher(): def hasher():
hashfuncs = { hashfuncs = {