mirror of https://github.com/morpheus65535/bazarr
core: fix values casting
This commit is contained in:
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)) +
|
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
|
FULL_LANGUAGE_LIST = ALPHA2_LIST + ALPHA3b_LIST
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue