core: fix values casting

pull/717/head
panni 5 years ago
parent a612335a44
commit d0ccd08aef

@ -33,9 +33,9 @@ repl_map = {
}
ALPHA2_LIST = list(set(filter(lambda x: x, map(lambda x: x.alpha2, LANGUAGE_MATRIX)) + repl_map.values()))
ALPHA2_LIST = list(set(filter(lambda x: x, map(lambda x: x.alpha2, LANGUAGE_MATRIX)) + list(repl_map.values())))
ALPHA3b_LIST = list(set(filter(lambda x: x, map(lambda x: x.alpha3, LANGUAGE_MATRIX)) +
filter(lambda x: len(x) == 3, repl_map.keys())))
filter(lambda x: len(x) == 3, list(repl_map.keys()))))
FULL_LANGUAGE_LIST = ALPHA2_LIST + ALPHA3b_LIST

Loading…
Cancel
Save