aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrzhxeo <rzhxeot7z81b4700@mailcatch.com>2013-12-30 06:50:12 +0100
committerrzhxeo <rzhxeot7z81b4700@mailcatch.com>2013-12-30 06:50:12 +0100
commit1cdfc31e1f9d5f617c9f093e38dac32146d3aef0 (patch)
treed32d34a21980072d5a8386cef849c2fdcbcd54c0
parentb26559878fa47bb13ad283fcad36c3a9ef484528 (diff)
Correct variable name in YoutubeDL
-rw-r--r--youtube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index a9a3639d7..ea98181cc 100644
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -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' '