aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-02-02 21:51:38 +0600
committerSergey M․ <dstftw@gmail.com>2015-02-02 21:51:38 +0600
commitae7773942ecf816e9592e55bdef7234f41c89c85 (patch)
tree74c0d3a2d71fe7b9f586feb218672a95bfc3c155
parent469a64cebf534b702e50ad9585e63ae3f8ed5d16 (diff)
[downloader/external] Simplify
-rw-r--r--youtube_dl/downloader/external.py2
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