Commit 29378db1 authored by 段英荣's avatar 段英荣

modify

parent 56273fdf
...@@ -40,7 +40,7 @@ class DoctorTransfer(object): ...@@ -40,7 +40,7 @@ class DoctorTransfer(object):
ch_full_word = instance.name ch_full_word = instance.name
py_full_word = ''.join(lazy_pinyin(ch_full_word)) py_full_word = ''.join(lazy_pinyin(ch_full_word))
py_acronym_full_word = lazy_pinyin(ch_full_word,style=pypinyin.FIRST_LETTER) py_acronym_full_word = ''.join(lazy_pinyin(ch_full_word,style=pypinyin.FIRST_LETTER))
#中文 #中文
for i in range(len(ch_full_word)): for i in range(len(ch_full_word)):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment