Browse Source

Fix the default values of format_id and format

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
8016c92297
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/YoutubeDL.py

+ 2
- 2
youtube_dl/YoutubeDL.py View File

@ -472,10 +472,10 @@ class YoutubeDL(object):
else:
format_desc = u'%sp' % format['height']
else:
format_desc = compat_str(i)
format_desc = '???'
format['format'] = format_desc
if format.get('format_id') is None:
format['format_id'] = '???'
format['format_id'] = compat_str(i)
if self.params.get('listformats', None):
self.list_formats(info_dict)


Loading…
Cancel
Save