aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-01 15:30:46 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-01 15:30:46 +0100
commiteadaf08c1670d2fc9a2078faca95fbc49d6a5af0 (patch)
tree737a39e71738bcaee04d3f94d0eab8362e903efa /youtube_dl/YoutubeDL.py
parent33ec2ae8d9450a59273d2156bd2ef77d2bd93a66 (diff)
parent8fa8a6299b0882eb9fd6a1ef84dd6b11396c22c2 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-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 3c47eb9dc..08037deda 100644
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -1017,7 +1017,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' '