From: Yen Chi Hsuan Date: Wed, 13 May 2015 13:16:45 +0000 (+0800) Subject: [YoutubeDL] Fix PEP8 W503 X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3749e36e9f0e6be2a3a3ab1b15c0c02be5a50e2f;p=youtube-dl [YoutubeDL] Fix PEP8 W503 --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 4cf83c510..84d50dab7 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1085,9 +1085,9 @@ class YoutubeDL(object): req_format = self.params.get('format') if req_format is None: req_format_list = [] - if (self.params.get('outtmpl', DEFAULT_OUTTMPL) != '-' - and info_dict['extractor'] in ['youtube', 'ted'] - and FFmpegMergerPP(self).available): + if (self.params.get('outtmpl', DEFAULT_OUTTMPL) != '-' and + info_dict['extractor'] in ['youtube', 'ted'] and + FFmpegMergerPP(self).available): req_format_list.append('bestvideo+bestaudio') req_format_list.append('best') req_format = '/'.join(req_format_list)