Skip to content

Commit a0179c0

Browse files
committed
[FIX] fixunreachable return at translate.py
1 parent 80a7c23 commit a0179c0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/translate.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ def translate(self, text: str, target_lang: str, source_lang: str = "en") -> str
333333
raise
334334

335335
return "\n\n".join(translated_chunks)
336-
return text
337336

338337

339338
class DocumentTranslator:

0 commit comments

Comments
 (0)