Skip to content

Fix for python bytes-to-utf-8 encoded string in the usernames#237

Open
thebookworm101 wants to merge 1 commit intoopencoweb:masterfrom
thebookworm101:tornado_encoding
Open

Fix for python bytes-to-utf-8 encoded string in the usernames#237
thebookworm101 wants to merge 1 commit intoopencoweb:masterfrom
thebookworm101:tornado_encoding

Conversation

@thebookworm101
Copy link
Copy Markdown

This fixes the session join problem #236 that the >1 client has with opencoweb+tornado>=3.x, this is only minimally tested with tornado 2.x and tornado 3.1.1 on python 3.3.2 and OCW 5822afa

…coweb+tornado==3.x, only minimally tested with tornado 2.x and tornado 3.1.1 on python 3.3.2 and opencoweb HEAD
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This edit may not add/remove anything as the session worked identically for me with or without the change

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The username variable appears to not be used if you follow the function calls. But, your change is correct; this was an oversight related to python2/3 and the new version of Tornado conversions.

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