projects
/
zzz-pokedex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
language_id -> local_language_id
[zzz-pokedex.git]
/
pokedex
/
lookup.py
diff --git
a/pokedex/lookup.py
b/pokedex/lookup.py
index
1b99065
..
a0946cf
100644
(file)
--- 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()
# Some things also have other languages' names
# XXX other language form names..?
seen = set()
- for language, name in getattr(row, 'name
s', []
).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
if name in seen:
# Don't add the name again as a different
# language; no point and it makes spell results