Skip to content

Comments

Added str conversion of siteid#198

Merged
timotheus merged 1 commit intotimotheus:masterfrom
MoorsTech:master
May 15, 2017
Merged

Added str conversion of siteid#198
timotheus merged 1 commit intotimotheus:masterfrom
MoorsTech:master

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.

2 participants