learningequality / le-utils

Utilities and constants shared across Kolibri, Ricecooker, and Kolibri Studio
MIT License
2 stars 31 forks source link

add encoding line #16

Closed indirectlylit closed 7 years ago

indirectlylit commented 7 years ago

I generated a kolibri .pex build with the perseus renderer and tried to run it in ubuntu.

It gave this error:

SyntaxError:
Non-ASCII character '\xe2' in kolibri/dist/le_utils/constants/exercises.py on line 20, but no encoding declared;
see http://www.python.org/peps/pep-0263.html for details

I tried adding this encoding line, but I'm having trouble testing the solution because I don't fully understand how the build process works.

indirectlylit commented 7 years ago

confirmed that this change addresses the error