From fdc68a85e2b7fcdb6357976e74a0559bf199a3e4 Mon Sep 17 00:00:00 2001 From: rlx Date: Wed, 2 Aug 2017 18:48:43 +0200 Subject: [PATCH] fix is_asian_name --- ox/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(' ')