diff --git a/oxdata/lookup/models.py b/oxdata/lookup/models.py index 36fde2e..8926ac2 100644 --- a/oxdata/lookup/models.py +++ b/oxdata/lookup/models.py @@ -22,7 +22,7 @@ oxdb_api = ox.API('http://0xdb.org/api/') def oxdb_sortnames(names): try: - sort_name = oxdb_api.sortName(names=names)['data'].values() + sort_names = oxdb_api.sortName(names=names)['data'].values() except: sort_names = map(canonical_name, names) return sort_names