1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00

Upgrade deprecated Argos Translate call

- load_installed_languages has been deprecated in favor of get_installed_languages
This commit is contained in:
P.J. Finlay 2022-04-30 06:15:54 -05:00 committed by GitHub
parent df491b0f91
commit 278a7057e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ def load_languages():
global __languages
if __languages is None or len(__languages) == 0:
__languages = translate.load_installed_languages()
__languages = translate.get_installed_languages()
return __languages