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