Skip to content

Encoding issue#9

Open
silkerp wants to merge 1 commit intoJana-Mobile:masterfrom
silkerp:patch-1
Open

Encoding issue#9
silkerp wants to merge 1 commit intoJana-Mobile:masterfrom
silkerp:patch-1

Conversation

@silkerp
Copy link

@silkerp silkerp commented Aug 30, 2018

I was getting an encoding error:
---> 27 dev_hash.update(timestamp)
TypeError: Unicode-objects must be encoded before hashing

So I added encode(utf-8) to both timestamp and api_secret which resolved the issue.

I was getting an encoding error:
---> 27         dev_hash.update(timestamp)
TypeError: Unicode-objects must be encoded before hashing

So I added encode(utf-8) to both timestamp and api_secret which resolved the issue.
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.

1 participant