mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Merge pull request #2061 from rzhxeo/var
Correct variable name in YoutubeDL.list_formats
This commit is contained in:
commit
241bce7aaf
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ def format_resolution(format, default='unknown'):
|
|||
def list_formats(self, info_dict):
|
||||
def format_note(fdict):
|
||||
res = u''
|
||||
if f.get('ext') in ['f4f', 'f4m']:
|
||||
if fdict.get('ext') in ['f4f', 'f4m']:
|
||||
res += u'(unsupported) '
|
||||
if fdict.get('format_note') is not None:
|
||||
res += fdict['format_note'] + u' '
|
||||
|
|
Loading…
Reference in a new issue