diff --git a/screen_translate/Public.py b/screen_translate/Public.py index c93edc6..116ef53 100644 --- a/screen_translate/Public.py +++ b/screen_translate/Public.py @@ -220,7 +220,7 @@ def translate(self, settings): # -------------------------------- # LibreTranslate elif self.engine == "LibreTranslate": - isSuccess, translateResult = libre_tl(query, self.langTo, self.langFrom, https=settings['libreTl']['https'], host=settings['libreTl']['host'], port=settings['libreTl']['port']) + isSuccess, translateResult = libre_tl(query, self.langTo, self.langFrom, https=settings['libreTl']['https'], host=settings['libreTl']['host'], port=settings['libreTl']['port'], apiKeys=settings['libreTl']['api_key']) self.fillTextBoxAndSaveHistory(isSuccess, query, translateResult, historyIsSaved, settings) # -------------------------------- # Wrong opts