diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-10-30 01:17:00 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-10-30 01:17:00 +0100 |
commit | 7193498811cb17a66ca57569a8588adb28ba2b27 (patch) | |
tree | a27d4ed6fd04d4ff8112fbe62d1d97e50c6a2f24 /youtube_dl | |
parent | 72321ead7b176824d1a8b2895ad4926555e41b88 (diff) |
Use index in formt string (Fixes vevo test on Python 2.6)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 898533496..7f73ea360 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -482,7 +482,7 @@ class YoutubeDL(object): format['format'] = u'{id} - {res}{note}'.format( id=format['format_id'], res=self.format_resolution(format), - note=u' ({})'.format(format['format_note']) if format.get('format_note') is not None else '', + note=u' ({0})'.format(format['format_note']) if format.get('format_note') is not None else '', ) # Automatically determine file extension if missing if 'ext' not in format: |