From daebaab692be24805451b90f848ec5d5e7d3bb8d Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 28 Aug 2014 13:04:49 +0200 Subject: [PATCH] [extractor/common] Correct typo --- youtube_dl/extractor/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index cc0a77e1e..8453321c5 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -664,7 +664,7 @@ class InfoExtractor(object): elif line.startswith('#') or not line.strip(): continue else: - if last_info is none: + if last_info is None: formats.append({'url': line}) continue tbr = int_or_none(last_info.get('BANDWIDTH'), scale=1000)