From: Sergey M․ Date: Mon, 2 Feb 2015 15:51:38 +0000 (+0600) Subject: [downloader/external] Simplify X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ae7773942ecf816e9592e55bdef7234f41c89c85;p=youtube-dl [downloader/external] Simplify --- 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