fix is_asian_name
This commit is contained in:
parent
791b71425f
commit
70be1b8a96
1 changed files with 3 additions and 0 deletions
|
@ -307,6 +307,9 @@ def get_sort_name(name):
|
|||
|
||||
if is_asian_name(name):
|
||||
names = name.split(' ')
|
||||
if '-' in names[0]:
|
||||
firstnames = names[0].split('-')
|
||||
names[0] = '-'.join(firstnames[0], firstnames[1].lower())
|
||||
return names[-1] + ' ' + ' '.join(names[:-1])
|
||||
|
||||
first_names = name.split(' ')
|
||||
|
|
Loading…
Reference in a new issue