aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-08-01 12:52:09 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-08-01 12:52:09 +0530
commita46a815b055231d056aeb82aa3f37cd864322d73 (patch)
tree21d7b89fd0018d79109458a8837ce2d8590e0d6a
parent96fccc101f8f579ebd67da176e029803d82634c7 (diff)
downloadhypervideo-pre-a46a815b055231d056aeb82aa3f37cd864322d73.tar.lz
hypervideo-pre-a46a815b055231d056aeb82aa3f37cd864322d73.tar.xz
hypervideo-pre-a46a815b055231d056aeb82aa3f37cd864322d73.zip
[cleanup] Fix linter in 96fccc101f8f579ebd67da176e029803d82634c7
-rw-r--r--yt_dlp/YoutubeDL.py2
-rw-r--r--yt_dlp/downloader/dash.py2
-rw-r--r--yt_dlp/downloader/hls.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index 11add73ad..71b8b2f3d 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -2699,7 +2699,7 @@ class YoutubeDL(object):
if dl_filename is not None:
pass
elif (directly_mergable and get_suitable_downloader(
- info_dict, self.params, to_stdout=(temp_filename== '-')) == FFmpegFD):
+ info_dict, self.params, to_stdout=(temp_filename == '-')) == FFmpegFD):
info_dict['url'] = '\n'.join(f['url'] for f in requested_formats)
success, real_download = self.dl(temp_filename, info_dict)
info_dict['__real_download'] = real_download
diff --git a/yt_dlp/downloader/dash.py b/yt_dlp/downloader/dash.py
index 881ef3a1d..734eab3ef 100644
--- a/yt_dlp/downloader/dash.py
+++ b/yt_dlp/downloader/dash.py
@@ -23,7 +23,7 @@ class DashSegmentsFD(FragmentFD):
'test', False) else info_dict['fragments']
real_downloader = get_suitable_downloader(
- info_dict, self.params, None, protocol='dash_frag_urls', to_stdout=(filename== '-'))
+ info_dict, self.params, None, protocol='dash_frag_urls', to_stdout=(filename == '-'))
ctx = {
'filename': filename,
diff --git a/yt_dlp/downloader/hls.py b/yt_dlp/downloader/hls.py
index 6f9dbeedb..9cbd5a584 100644
--- a/yt_dlp/downloader/hls.py
+++ b/yt_dlp/downloader/hls.py
@@ -87,7 +87,7 @@ class HlsFD(FragmentFD):
real_downloader = None # Packing the fragments is not currently supported for external downloader
else:
real_downloader = get_suitable_downloader(
- info_dict, self.params, None, protocol='m3u8_frag_urls', to_stdout=(filename== '-'))
+ info_dict, self.params, None, protocol='m3u8_frag_urls', to_stdout=(filename == '-'))
if real_downloader and not real_downloader.supports_manifest(s):
real_downloader = None
if real_downloader: