mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-23 15:28:41 +00:00
Another fix for #703.
This commit is contained in:
parent
d0ccd08aef
commit
e4cc062dd3
1 changed files with 3 additions and 4 deletions
|
@ -32,10 +32,9 @@ repl_map = {
|
|||
"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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue