mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02:00
Fix check_and_install_transliteration
This commit is contained in:
parent
3c1be4e731
commit
647379aea5
@ -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 New Issue
Block a user