diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-01-01 03:33:34 -0800 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-01-01 03:33:34 -0800 |
commit | 241bce7aaf53ab57615434684c7bfddbddcabf01 (patch) | |
tree | 08f08f8d19ffa6d573a18a4b0ad093bbd71acf16 | |
parent | c801b2051a91ccddff5b3c5df23944229cd13266 (diff) | |
parent | 1cdfc31e1f9d5f617c9f093e38dac32146d3aef0 (diff) |
Merge pull request #2061 from rzhxeo/var
Correct variable name in YoutubeDL.list_formats
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 738304193..0a4dbbbd9 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1016,7 +1016,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' ' |