From 48019281d087516cf06da1b014a112a75f524be6 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Wed, 10 Jul 2024 10:01:34 -0400 Subject: [PATCH] no log: small fix to translate function --- bazarr/subtitles/tools/translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/subtitles/tools/translate.py b/bazarr/subtitles/tools/translate.py index 4dcc25471..eaaa69182 100644 --- a/bazarr/subtitles/tools/translate.py +++ b/bazarr/subtitles/tools/translate.py @@ -44,7 +44,7 @@ def translate_subtitles_file(video_path, source_srt_file, from_lang, to_lang, fo subs = pysubs2.load(source_srt_file, encoding='utf-8') subs.remove_miscellaneous_events() lines_list = [x.plaintext for x in subs] - joined_lines_str = '\n\n\n'.join(lines_list) + joined_lines_str = '\n\n'.join(lines_list) logging.debug(f'BAZARR splitting subtitles into {max_characters} characters blocks') lines_block_list = []