From ae7773942ecf816e9592e55bdef7234f41c89c85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Mon, 2 Feb 2015 21:51:38 +0600 Subject: [PATCH] [downloader/external] Simplify --- youtube_dl/downloader/external.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5