fix is_asian_name

This commit is contained in:
rlx 2017-08-02 19:52:40 +02:00
parent 7d2c17c90e
commit 32abb6106e

View file

@ -326,7 +326,7 @@ def get_sort_name(name):
lastname, firstname = [names[0], names[1] + ' ' + names[2]]
else:
lastname, firstname = [names[2], names[0] + ' ' + names[1]]
return '{} {}'.format(lastname, firstname)
return lastname + ' ' + firstname
first_names = name.split(' ')
last_names = []