Browse Source

[downloader/external] Simplify

totalwebcasting
Sergey M․ 10 years ago
parent
commit
ae7773942e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/downloader/external.py

+ 1
- 1
youtube_dl/downloader/external.py View File

@ -47,7 +47,7 @@ class ExternalFD(FileDownloader):
def _source_address(self, command_option): def _source_address(self, command_option):
command_part = [] command_part = []
source_address = self.ydl.params.get('source_address')
source_address = self.params.get('source_address')
if source_address: if source_address:
command_part = [command_option, source_address] command_part = [command_option, source_address]
return command_part return command_part


Loading…
Cancel
Save