fix YouTubeIE on 2.6, sorry

This commit is contained in:
Filippo Valsorda 2012-11-28 11:28:59 +01:00
parent 799c076384
commit 32761d863c

View File

@ -486,8 +486,8 @@ class YoutubeIE(InfoExtractor):
# Extension # Extension
video_extension = self._video_extensions.get(format_param, 'flv') video_extension = self._video_extensions.get(format_param, 'flv')
video_format = '{} - {}'.format(format_param if format_param else video_extension, video_format = '{0} - {1}'.format(format_param if format_param else video_extension,
self._video_dimensions.get(format_param, '???')) self._video_dimensions.get(format_param, '???'))
results.append({ results.append({
'id': video_id, 'id': video_id,