diff --git a/PIL/JpegImagePlugin.py b/PIL/JpegImagePlugin.py index 8d25ffe66..7bd4b5335 100644 --- a/PIL/JpegImagePlugin.py +++ b/PIL/JpegImagePlugin.py @@ -719,7 +719,6 @@ def jpeg_factory(fp=None, filename=None): except SyntaxError: warnings.warn("Image appears to be a malformed MPO file, it will be " "interpreted as a base JPEG file") - pass return im