Fix `--downloader native`

Bug in 7b2c3f47c6
This commit is contained in:
pukkandan 2022-06-22 19:14:04 +05:30
parent 1ac4fd80c8
commit 28163422a6
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39
1 changed files with 2 additions and 0 deletions

View File

@ -403,6 +403,8 @@ def validate_options(opts):
default_downloader = None default_downloader = None
for proto, path in opts.external_downloader.items(): for proto, path in opts.external_downloader.items():
if path == 'native':
continue
ed = get_external_downloader(path) ed = get_external_downloader(path)
if ed is None: if ed is None:
raise ValueError( raise ValueError(