Skip to content

Commit

Permalink
Another fix for #703.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Dec 24, 2019
1 parent d0ccd08 commit e4cc062
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions libs/subzero/language.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@
"tib": "bo",
}


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, list(repl_map.keys()))))
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)))) + \
list(set(filter(lambda x: len(x) == 3, list(repl_map.keys()))))
FULL_LANGUAGE_LIST = ALPHA2_LIST + ALPHA3b_LIST


Expand Down

0 comments on commit e4cc062

Please sign in to comment.