diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-02 20:32:07 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-02 20:32:07 +0100 |
commit | ea71034bd3965de8ff7239516776296e2c9857c3 (patch) | |
tree | bd4a637859aeb49ffabe19c798b07ccaab677ee1 /youtube_dl | |
parent | 9fffd0469f1353c5f5e96b91a87e34d02ae7491a (diff) | |
parent | ae7773942ecf816e9592e55bdef7234f41c89c85 (diff) |
Merge remote-tracking branch 'origin/master'
Conflicts:
youtube_dl/downloader/external.py
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/downloader/external.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index e47e3bf4c..faac11805 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -47,8 +47,8 @@ class ExternalFD(FileDownloader): def _source_address(self, command_option): command_part = [] - source_address = self.ydl.params.get('source_address') - if source_address is None: + source_address = self.params.get('source_address') + if source_address: command_part = [command_option, source_address] return command_part |