mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-11-04 10:02:48 +01:00
[downloader/external] Simplify
This commit is contained in:
parent
469a64cebf
commit
ae7773942e
@ -47,7 +47,7 @@ class ExternalFD(FileDownloader):
|
||||
|
||||
def _source_address(self, command_option):
|
||||
command_part = []
|
||||
source_address = self.ydl.params.get('source_address')
|
||||
source_address = self.params.get('source_address')
|
||||
if source_address:
|
||||
command_part = [command_option, source_address]
|
||||
return command_part
|
||||
|
Loading…
Reference in New Issue
Block a user