mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 14:26:49 +01:00
Use index in formt string (Fixes vevo test on Python 2.6)
This commit is contained in:
parent
72321ead7b
commit
7193498811
@ -482,7 +482,7 @@ def process_video_result(self, info_dict, download=True):
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user