This commit is contained in:
j 2012-10-15 16:09:19 +02:00
parent 06696dd466
commit 647bcc20cc

View file

@ -22,7 +22,7 @@ oxdb_api = ox.API('http://0xdb.org/api/')
def oxdb_sortnames(names): def oxdb_sortnames(names):
try: try:
sort_name = oxdb_api.sortName(names=names)['data'].values() sort_names = oxdb_api.sortName(names=names)['data'].values()
except: except:
sort_names = map(canonical_name, names) sort_names = map(canonical_name, names)
return sort_names return sort_names