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

Add type conversion for page and per_page args #90

Merged
merged 1 commit into from
Jan 31, 2021
Merged

Conversation

dp92987
Copy link
Contributor

@dp92987 dp92987 commented Jan 31, 2021

When string is passed to page or per_page args the following exception occurs:
ValueError: invalid literal for int() with base 10: 'a'

This commits adds type conversion to avoid that exception.

@lixxu lixxu merged commit 5dd4a6a into lixxu:master Jan 31, 2021
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.

2 participants