Skip to content

Conversation

@alinradut
Copy link
Contributor

The current code only works correctly under Python 2.

Apparently in Python 3 it's not possible to use data[1] to access a byte, instead we have to use data[1:2].

This pull request fixes this compatibility issue and it should still work correctly on both versions.

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