1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

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

View File

@@ -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 = {