This commit is contained in:
morpheus65535 2018-09-28 21:32:39 -04:00
parent 1092733b5e
commit 98cf99d1d0
1 changed files with 1 additions and 0 deletions

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