Update src/PIL/MpoImagePlugin.py

Co-Authored-By: Glandos <bugs-github@antipoul.fr>
This commit is contained in:
Hugo 2019-03-07 13:22:20 +01:00 committed by GitHub
parent 85cc21b563
commit d0172a08dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ class MpoImageFile(JpegImagePlugin.JpegImageFile):
This is essentially useful when opening a JPEG
file that reveals itself as an MPO, to avoid
double call to _open.
'''
"""
jpeg_instance.__class__ = MpoImageFile
jpeg_instance._after_jpeg_open(mpheader)
return jpeg_instance