From: Filippo Valsorda Date: Wed, 28 Nov 2012 10:28:59 +0000 (+0100) Subject: fix YouTubeIE on 2.6, sorry X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=32761d863ccbb3aba916b3cc6b7ef15456c541ac;p=youtube-dl fix YouTubeIE on 2.6, sorry --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 036132167..44ad342a8 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -486,8 +486,8 @@ class YoutubeIE(InfoExtractor): # Extension video_extension = self._video_extensions.get(format_param, 'flv') - video_format = '{} - {}'.format(format_param if format_param else video_extension, - self._video_dimensions.get(format_param, '???')) + video_format = '{0} - {1}'.format(format_param if format_param else video_extension, + self._video_dimensions.get(format_param, '???')) results.append({ 'id': video_id,