1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-04 07:15:23 +00:00

[version] update (and linter)

This commit is contained in:
pukkandan
2021-02-05 05:02:41 +05:30
parent c25228e5da
commit 0fd1a2b0bf
9 changed files with 18 additions and 18 deletions

View File

@@ -2131,7 +2131,7 @@ class YoutubeDL(object):
sub_format = sub_info['ext']
sub_fn = self.prepare_filename(info_dict, 'subtitle')
sub_filename = subtitles_filename(
temp_filename if not skip_dl else sub_fn,
temp_filename if not skip_dl else sub_fn,
sub_lang, sub_format, info_dict.get('ext'))
sub_filename_final = subtitles_filename(sub_fn, sub_lang, sub_format, info_dict.get('ext'))
if not self.params.get('overwrites', True) and os.path.exists(encodeFilename(sub_filename)):

View File

@@ -24,7 +24,6 @@ from .compat import (
from .utils import (
DateRange,
decodeOption,
DEFAULT_OUTTMPL,
DownloadError,
ExistingVideoReached,
expand_path,

View File

@@ -1,3 +1,3 @@
from __future__ import unicode_literals
__version__ = '2021.01.29'
__version__ = '2021.02.04'