-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in Yandex Translator translate
method
#256
Comments
Thanks for noticing this. Do you want to open a fix PR for it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Yandex Translator translate method returns a list, not a str.
What I Did
To fix it change return statement on line 142 in current version from
return response["text"]
toreturn response["text"][0]
in file$DIRECTORY/deep_translator/yandex.py
The text was updated successfully, but these errors were encountered: