aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpanni <[email protected]>2019-12-24 02:33:22 +0100
committerpanni <[email protected]>2019-12-24 02:33:39 +0100
commitd0ccd08aef5b30cf6870af323f81ece9170d76e1 (patch)
treea443d87b8c6f75f6e5269c70fa10e7c78afd5b38
parenta612335a44531a487862e4aa5e42bcab6a5cf1f8 (diff)
downloadbazarr-d0ccd08aef5b30cf6870af323f81ece9170d76e1.tar.gz
bazarr-d0ccd08aef5b30cf6870af323f81ece9170d76e1.zip
core: fix values casting
-rw-r--r--libs/subzero/language.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/subzero/language.py b/libs/subzero/language.py
index 38cfb8113..34c6c882a 100644
--- a/libs/subzero/language.py
+++ b/libs/subzero/language.py
@@ -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