Skip to content

Commit

Permalink
fix: Fixed the bug that prevented retry failure translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bookfere committed Jun 14, 2024
1 parent 2dc1dc2 commit d224aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _translate_text(self, row, text, retry=0, interval=0):
error_messages.insert(1, _('Row: {}').format(row))
self.log('\n'.join(error_messages), True)
time.sleep(interval)
return self._translate_text(text, retry, interval)
return self._translate_text(row, text, retry, interval)

def translate_paragraph(self, paragraph):
if self.cancel_request():
Expand Down

0 comments on commit d224aa3

Please sign in to comment.