No quotes

main
Bob Mottram 2021-07-20 13:15:49 +01:00
parent 251c106696
commit 67670da87a
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ def autoTranslatePost(baseDir: str, postJsonObject: {},
if msgObject['contentMap'].get(lang):
translatedText = \
_libretranslate(libretranslateUrl,
msgObject['contentMap']['lang'],
msgObject['contentMap'][lang],
lang, systemLanguage,
libretranslateApiKey)
if translatedText: