1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-07 11:42:43 +01:00

Correct variable name in YoutubeDL

This commit is contained in:
rzhxeo 2013-12-30 06:50:12 +01:00
parent b26559878f
commit 1cdfc31e1f

View File

@ -1014,7 +1014,7 @@ def format_resolution(format, default='unknown'):
def list_formats(self, info_dict): def list_formats(self, info_dict):
def format_note(fdict): def format_note(fdict):
res = u'' res = u''
if f.get('ext') in ['f4f', 'f4m']: if fdict.get('ext') in ['f4f', 'f4m']:
res += u'(unsupported) ' res += u'(unsupported) '
if fdict.get('format_note') is not None: if fdict.get('format_note') is not None:
res += fdict['format_note'] + u' ' res += fdict['format_note'] + u' '