0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[downloader/external] Simplify

This commit is contained in:
Sergey M․ 2015-02-02 21:51:38 +06:00
parent 469a64cebf
commit ae7773942e

View file

@ -47,7 +47,7 @@ def supports(cls, info_dict):
def _source_address(self, command_option): def _source_address(self, command_option):
command_part = [] command_part = []
source_address = self.ydl.params.get('source_address') source_address = self.params.get('source_address')
if source_address: if source_address:
command_part = [command_option, source_address] command_part = [command_option, source_address]
return command_part return command_part