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

Added str conversion of siteid #198

Merged
merged 1 commit into from
May 15, 2017
Merged

Added str conversion of siteid #198

merged 1 commit into from
May 15, 2017

Conversation

MoorsTech
Copy link
Contributor

Fixes requests InvalidHeader-exception for when Trading class is initialized with integer siteid parameter.
Trading(appid=appid, devid=devid, certid=certid, siteid=77) currently causes InvalidHeader: Header value 77 must be of type str or bytes, not <type 'int'> with requests > 2.10 or so.

@timotheus timotheus merged commit 9d27b8e into timotheus:master May 15, 2017
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