no log: small fix to translate function

pull/2575/head
morpheus65535 6 months ago
parent ca7f68bbc8
commit 48019281d0

@ -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 = []

Loading…
Cancel
Save