Styling fix.

This commit is contained in:
kratel 2021-05-13 23:58:27 -04:00
parent 79d1068ca6
commit 4d5730601a

View File

@ -240,8 +240,9 @@ class ImageFile(Image.Image):
if LOAD_TRUNCATED_IMAGES:
break
else:
raise OSError(None, "image file is truncated",
self.filename) from e
raise OSError(
None, "image file is truncated", self.filename
) from e
if not s: # truncated jpeg
if LOAD_TRUNCATED_IMAGES: