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:
|
||||
if prev_value is not None:
|
||||
ImageFile.LOAD_TRUNCATED_IMAGES = prev_value
|
||||
return x
|
||||
return x
|
||||
|
||||
def hasher():
|
||||
hashfuncs = {
|
||||
|
|
Loading…
Reference in New Issue