[downloader/external] Simplify
[youtube-dl] / youtube_dl / downloader / external.py
index 012057ecb5fcc70c7221e63a24500b6c85046ca3..faac11805cafb0adb2c0a6609cf195ab92783eef 100644 (file)
@@ -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