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
Fixes #1412 #1413
Fixes #1412 #1413
Conversation
This is an important feature. Please release as soon as possible. |
Same problem here |
I had the same problem, and this branch fixed it for me! I hope this get merged soon, thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will error with AttributeError: 'NoneType' object has no attribute 'read'
when file
is not passed.
Co-authored-by: Harmon <Harmon758@gmail.com>
Fixes #1412 by transforming file argument to bytes and passing to
imghdr.what
inapi.media_upload