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

AttributeError: 'bool' object has no attribute 'encode' #61

Closed
user0007 opened this issue Jun 1, 2015 · 2 comments
Closed

AttributeError: 'bool' object has no attribute 'encode' #61

user0007 opened this issue Jun 1, 2015 · 2 comments
Assignees

Comments

@user0007
Copy link

user0007 commented Jun 1, 2015

data = {'param1': 'value1', 'param2': True}
reg_id = '12'
gcm.plaintext_request(registration_id=reg_id, data=data)
@alibitek
Copy link
Collaborator

alibitek commented Oct 3, 2015

What Python version are you using?
Can you provide a traceback?

@alibitek
Copy link
Collaborator

alibitek commented Oct 5, 2015

This problem is due to the urlencode_utf8 method https://github.com/geeknam/python-gcm/pull/80/files#diff-464232c9a5921970b623c217c57caae7L83 , whis is going to be removed and the problem will be fixed!

@alibitek alibitek self-assigned this Oct 5, 2015
@alibitek alibitek closed this as completed Oct 8, 2015
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

No branches or pull requests

2 participants