X-Git-Url: http://git.veekun.com/zzz-pokedex.git/blobdiff_plain/492c9c72081add3b6ebfe36743906e6c6f82ce92..a227e7adcc899aac9b7c0cb4ff2d4c7428349fce:/pokedex/lookup.py?ds=inline diff --git a/pokedex/lookup.py b/pokedex/lookup.py index 1b99065..a0946cf 100644 --- a/pokedex/lookup.py +++ b/pokedex/lookup.py @@ -225,7 +225,7 @@ class PokedexLookup(object): # Some things also have other languages' names # XXX other language form names..? seen = set() - for language, name in getattr(row, 'names', []).items(): + for language, name in getattr(row, 'name_map', {}).items(): if name in seen: # Don't add the name again as a different # language; no point and it makes spell results