Merge "fix language encoding in Python3"

This commit is contained in:
Zuul 2018-09-26 09:43:19 +00:00 committed by Gerrit Code Review
commit 4673b0f991
1 changed files with 1 additions and 1 deletions

View File

@ -19,6 +19,6 @@ import babel
lang_code = sys.argv[1]
try:
l = babel.Locale.parse(lang_code)
print(l.get_display_name().encode('utf-8'))
print(l.get_display_name())
except Exception:
print(lang_code)