[cleanup] Fix linter in 96fccc101f

pull/606/head
pukkandan 3 years ago
parent 96fccc101f
commit a46a815b05
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

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

@ -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,

@ -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:

Loading…
Cancel
Save