Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: in py3.7, as grey typo is not only a warning but error #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calvin-Huang
Copy link
Contributor

self = <imageio.plugins.pillow.JPEGFormat.Reader object at 0x123399550>, format = <Format JPEG-PIL - JPEG (ISO 10918)>
request = <imageio.core.request.Request object at 0x1233999d0>

    def __init__(self, format, request):
        self.__closed = False
        self._BaseReaderWriter_last_index = -1
        self._format = format
        self._request = request
        # Open the reader/writer
>       self._open(**self.request.kwargs.copy())
E       TypeError: _open() got an unexpected keyword argument 'as_grey'

/usr/local/lib/python3.7/site-packages/imageio/core/format.py:221: TypeError

as_gray would be a fatal error in python 3.7.

This was referenced Jun 28, 2020
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.

None yet

1 participant