From 647379aea5e54de6f8c372a71609926a0acdcfb3 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Tue, 21 Jun 2022 14:22:12 -0400 Subject: [PATCH] Fix check_and_install_transliteration --- app/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/init.py b/app/init.py index b1c6997..476676c 100644 --- a/app/init.py +++ b/app/init.py @@ -65,7 +65,7 @@ def check_and_install_models(force=False, load_only_lang_codes=None): def check_and_install_transliteration(force=False): # 'en' is not a supported transliteration language transliteration_languages = [ - l.code for l in app.language.languages if l.code != "en" + l.code for l in app.language.load_languages() if l.code != "en" ] # check installed