[cleanup] Fix linter in 96fccc101f

This commit is contained in:
pukkandan 2021-08-01 12:52:09 +05:30
parent 96fccc101f
commit a46a815b05
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
3 changed files with 3 additions and 3 deletions

View File

@ -2699,7 +2699,7 @@ def correct_ext(filename):
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

View File

@ -23,7 +23,7 @@ def real_download(self, filename, info_dict):
'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,

View File

@ -87,7 +87,7 @@ def real_download(self, filename, info_dict):
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: