Skip to content

Commit

Permalink
(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadangdut33 committed Dec 12, 2021
1 parent 9f1a2e8 commit 5b404f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screen_translate/Public.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b404f1

Please sign in to comment.