[extractor/common] Correct typo
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 28 Aug 2014 11:04:49 +0000 (13:04 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 28 Aug 2014 11:04:49 +0000 (13:04 +0200)
youtube_dl/extractor/common.py

index cc0a77e1ed755c2ca971246a94b766858aec8828..8453321c5995a7e752c8653d5f3d5a36fd1e7ee0 100644 (file)
@@ -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)