summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2024-07-10 10:01:34 -0400
committermorpheus65535 <[email protected]>2024-07-10 10:01:34 -0400
commit48019281d087516cf06da1b014a112a75f524be6 (patch)
treef568ae1d35880e70ab8dc2013bacf8233a1e08fb
parentca7f68bbc88458b22f75118244ecdb83361ebe6b (diff)
downloadbazarr-48019281d087516cf06da1b014a112a75f524be6.tar.gz
bazarr-48019281d087516cf06da1b014a112a75f524be6.zip
no log: small fix to translate function
-rw-r--r--bazarr/subtitles/tools/translate.py2
1 files changed, 1 insertions, 1 deletions
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 = []