From 32761d863ccbb3aba916b3cc6b7ef15456c541ac Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Wed, 28 Nov 2012 11:28:59 +0100 Subject: [PATCH] fix YouTubeIE on 2.6, sorry --- youtube_dl/InfoExtractors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ def _real_extract(self, url): # 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,