Visitar URL original
Poll ID should be INT by trenoduro · Pull Request #339 · pyrogram/pyrogram · GitHub
The Wayback Machine - https://web.archive.org/web/20201210054432/https://github.com/pyrogram/pyrogram/pull/339
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

Poll ID should be INT #339

Merged
merged 2 commits into from Feb 1, 2020
Merged

Poll ID should be INT #339

merged 2 commits into from Feb 1, 2020

Conversation

@trenoduro
Copy link
Contributor

@trenoduro trenoduro commented Nov 6, 2019

Otherwise stop_poll() raises AtributeError thile trying to convert a string to bytes

Copy link
Member

@delivrance delivrance left a comment

Edit stop_poll.py instead and convert the poll.id into an integer with id=int(poll.id)

@trenoduro trenoduro closed this Jan 24, 2020
trenoduro added 2 commits Jan 24, 2020
Trying to convert a string to bytes
@trenoduro trenoduro reopened this Jan 24, 2020
@trenoduro trenoduro requested a review from delivrance Jan 24, 2020
@delivrance delivrance merged commit 78cba04 into pyrogram:develop Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.