fix is_asian_name
This commit is contained in:
parent
5ca89dfe08
commit
18176630ef
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ def get_sort_name(name):
|
|||
return len(first_names) and first_names[-1].lower() in names
|
||||
|
||||
if is_asian_name(name):
|
||||
names = name.replace('-').split(' ')
|
||||
names = name.replace('-', ' ').split(' ')
|
||||
if len(names) == 2:
|
||||
if names[0].lower() in ASIAN_LAST_NAMES:
|
||||
lastname, firstname = names
|
||||
|
|
Loading…
Reference in a new issue