diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-02-02 21:51:38 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-02-02 21:51:38 +0600 |
commit | ae7773942ecf816e9592e55bdef7234f41c89c85 (patch) | |
tree | 74c0d3a2d71fe7b9f586feb218672a95bfc3c155 | |
parent | 469a64cebf534b702e50ad9585e63ae3f8ed5d16 (diff) |
[downloader/external] Simplify
-rw-r--r-- | youtube_dl/downloader/external.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index 012057ecb..faac11805 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -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 |