Skip to content

Made logger convert output to utf-8 including errors#1087

Merged
inclement merged 1 commit intokivy:masterfrom
inclement:fix_logger_py3
Aug 13, 2017
Merged

Made logger convert output to utf-8 including errors#1087
inclement merged 1 commit intokivy:masterfrom
inclement:fix_logger_py3

Conversation

@inclement
Copy link
Member

This prevents a regular error in the python2 build where the output is in byte format but is not valid utf-8, so the logger crashes in python3 because the output is assumed to be a str.

This prevents a regular error in the python2 build where the output is
in byte format but is not valid utf-8, so the logger crashes because
the format is wrong.
@inclement inclement merged commit 86b8280 into kivy:master Aug 13, 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.

1 participant