提交 df050788 编写于 作者: T tink2123

sync to python35

上级 f8a3c3f9
...@@ -98,7 +98,7 @@ class CharacterOps(object): ...@@ -98,7 +98,7 @@ class CharacterOps(object):
if is_remove_duplicate: if is_remove_duplicate:
if idx > 0 and text_index[idx - 1] == text_index[idx]: if idx > 0 and text_index[idx - 1] == text_index[idx]:
continue continue
char_list.append(self.character[text_index[idx]]) char_list.append(self.character[int(text_index[idx])])
text = ''.join(char_list) text = ''.join(char_list)
return text return text
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册