1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-03-03 10:06:24 +00:00
This commit is contained in:
morpheus65535 2018-09-28 21:32:39 -04:00
parent 1092733b5e
commit 98cf99d1d0

View file

@ -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])