about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-08-28 13:04:49 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-08-28 13:04:49 +0200
commitdaebaab692be24805451b90f848ec5d5e7d3bb8d (patch)
treec461cc17c3fd6abfc3e7610ab4e3d2829d75d455
parent3524cc25cad5bb9c717a695c796a24ce3fe2d6f3 (diff)
downloadyoutube-dl-daebaab692be24805451b90f848ec5d5e7d3bb8d.tar.gz
youtube-dl-daebaab692be24805451b90f848ec5d5e7d3bb8d.tar.xz
youtube-dl-daebaab692be24805451b90f848ec5d5e7d3bb8d.zip
[extractor/common] Correct typo
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
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)