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

JSONDecodeError When Data is None #907

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

tsherknus
Copy link
Contributor

@tsherknus tsherknus commented Dec 15, 2021

Resolves an issue in base.py during historic retrieval of data.

In base.py history(), session.get can return None. Add an additional condition on line 190 of base.py has been added, which will throw a RuntimeError before the json parse exception can be thrown.

https://imgur.com/a/IgTqKah

@tsherknus
Copy link
Contributor Author

tsherknus commented Dec 28, 2021

Anything I can do to help move this issue along? @ranaroussi

In base.py history(), session.get can return None. Add an additional condition on line 190 of base.py has been added, which will throw a RuntimeError before the json parse exception can be thrown.
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

2 participants