Skip to content

A feature-rich command-line audio/video downloader

[extractor/common] Correct typo

Philipp Hagemeisterdaebaab692be
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index cc0a77e1ed..8453321c59 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)