forked from mirrors/LibreTranslate
Fix check_and_install_transliteration
This commit is contained in:
parent
3c1be4e731
commit
647379aea5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue