]> jfr.im git - yt-dlp.git/commitdiff
[extractor/common] Correct typo
authorPhilipp Hagemeister <redacted>
Thu, 28 Aug 2014 11:04:49 +0000 (13:04 +0200)
committerPhilipp Hagemeister <redacted>
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 @@ def _extract_m3u8_formats(self, m3u8_url, video_id, ext=None):
             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)