Correct variable name in YoutubeDL
authorrzhxeo <rzhxeot7z81b4700@mailcatch.com>
Mon, 30 Dec 2013 05:50:12 +0000 (06:50 +0100)
committerrzhxeo <rzhxeot7z81b4700@mailcatch.com>
Mon, 30 Dec 2013 05:50:12 +0000 (06:50 +0100)
youtube_dl/YoutubeDL.py

index a9a3639d7f7a32053990f0b41e487b837a704767..ea98181cc9af8ce7f6d4909f245ff9fa10967450 100644 (file)
@@ -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' '