Merge pull request #2075 from benlawraus/benlawraus

unicode() is not a standard python 3 function so using str() if pytho…
This commit is contained in:
mdipierro
2019-02-03 21:10:43 -08:00
committed by GitHub
+2
View File
@@ -326,6 +326,8 @@ def write_plural_dict(filename, contents):
def sort_function(x):
if sys.version_info.major == 3: # python 3 compatibility
unicode = str
return unicode(x, 'utf-8').lower()