Commit c75b5060 authored by comfyanonymous's avatar comfyanonymous
Browse files

Less confusing exception if pillow() function fails.

parent 4ba7fa02
......@@ -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 = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment