This commit is contained in:
mdipierro
2018-05-01 15:34:07 -05:00
parent 09d400fab3
commit 4eb82780ea
+1 -1
View File
@@ -974,7 +974,7 @@ class translator(object):
word = w[1:]
fun = cap_fun
s = fun(self.plural(word, n))
return to_unicode(s).encode()
return to_unicode(s) if PY2 else s
s = m.group(1)
part = regex_plural_tuple.sub(sub_tuple, s)