diff --git a/ox/text.py b/ox/text.py index f136395..5299607 100644 --- a/ox/text.py +++ b/ox/text.py @@ -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(' ')