mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-10 18:05:16 +00:00
Less confusing exception if pillow() function fails.
This commit is contained in:
parent
4ba7fa0244
commit
c75b50607b
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user