mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 00:52:52 +08:00
Correct variable name in YoutubeDL
This commit is contained in:
parent
b26559878f
commit
1cdfc31e1f
@ -1014,7 +1014,7 @@ class YoutubeDL(object):
|
||||
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 New Issue
Block a user