Skip to content

Conversation

@radarhere
Copy link
Member

Two changes.

  • Changed register_open calls to be consistent #5380 changed plugins to more consistently call a method called _accept as the last argument to Image.register_open. This PR also does that for our example plugin.
  • MpoImagePlugin has its Image.register_open call commented out.
    # Image.register_open(MpoImageFile.format,
    # JpegImagePlugin.jpeg_factory, _accept)

    So this PR comments out the unused _accept method from MpoImagePlugin.

@hugovk hugovk merged commit ffde039 into python-pillow:master Sep 20, 2021
@radarhere radarhere deleted the accept branch September 20, 2021 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants