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 twilio provider b64encode error in python3 #123

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

Conversation

Esperk
Copy link

@Esperk Esperk commented Jan 13, 2020

Fixes the following error when running with python3:
TypeError: a bytes-like object is required, not 'str'

This change changes nothing in python2 but casts to a bytestring in python3 which enables casting to a base64 string in both versions.

@Esperk
Copy link
Author

Esperk commented Jan 13, 2020

I'm not sure if this is a known issue but the flake8 tests seem to fail on untouched code.

@Esperk
Copy link
Author

Esperk commented Jan 13, 2020

Looks like this is also an issue on #122

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