mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-19 12:24:59 -04:00
no log: small fix to translate function
This commit is contained in:
parent
ca7f68bbc8
commit
48019281d0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue