mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-19 22:10:09 +01:00
Upgrade deprecated Argos Translate call
- load_installed_languages has been deprecated in favor of get_installed_languages
This commit is contained in:
parent
df491b0f91
commit
278a7057e4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user