diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-11-28 11:28:59 +0100 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-11-28 11:28:59 +0100 |
commit | 32761d863ccbb3aba916b3cc6b7ef15456c541ac (patch) | |
tree | e4ff5888623c16b8ec003fe48941cf91e2d8b61b /youtube_dl | |
parent | 799c0763845dfb82d53ecae0080b276f447144de (diff) |
fix YouTubeIE on 2.6, sorry
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/InfoExtractors.py | 4 |
1 files 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 @@ 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, |