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