mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-03 18:15:50 +00:00
Fix for #158
This commit is contained in:
parent
1092733b5e
commit
98cf99d1d0
1 changed files with 1 additions and 0 deletions
|
@ -750,6 +750,7 @@ def save_subtitles(video, subtitles, single=False, directory=None, encoding=None
|
|||
continue
|
||||
|
||||
# create subtitle path
|
||||
subtitle_path = None
|
||||
subtitle_path = get_subtitle_path(video.name, None if single else subtitle.language)
|
||||
if directory is not None:
|
||||
subtitle_path = os.path.join(directory, os.path.split(subtitle_path)[1])
|
||||
|
|
Loading…
Reference in a new issue