fix YouTubeIE on 2.6, sorry

pull/2/head
Filippo Valsorda 12 years ago
parent 799c076384
commit 32761d863c

@ -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,

Loading…
Cancel
Save