1 new commit in instantTranslate:
https://bitbucket.org/nvdaaddonteam/instanttranslate/commits/5344e6acafa6/
Changeset: 5344e6acafa6
Branch: master
User: parkcorp
Date: 2019-02-06 16:23:21+00:00
Summary: fix getting whole translated text
Affected #: 1 file
diff --git a/addon/globalPlugins/instantTranslate/translator.py
b/addon/globalPlugins/instantTranslate/translator.py
index a02e99e..2b097c0 100644
--- a/addon/globalPlugins/instantTranslate/translator.py
+++ b/addon/globalPlugins/instantTranslate/translator.py
@@ -80,4 +80,4 @@ class Translator(threading.Thread):
log.exception("Instant translate: Can not
translate text '%s'" %chunk)
# We have probably been blocked, so stop trying
to translate.
raise e
- self.translation += "".join(response[0][0][0])
+ self.translation += "".join(r[0] for r in response[0])
Repository URL: https://bitbucket.org/nvdaaddonteam/instanttranslate/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.