terryyin/translate-python

Index out of bounds error

NoomMiner opened this issue · 0 comments

Traceback (most recent call last):
File "C:\Users\User\PycharmProjects\Translate\main.py", line 79, in
en_item = ts.google(item, to_language='en', from_language='ta')
File "C:\Users\User\PycharmProjects\Translate\venv\lib\site-packages\translators\apis.py", line 413, in google_api
return data if is_detail_result else ' '.join([x[0] for x in data[1][0][0][5]])
IndexError: list index out of range