소스 검색

[extractor/common] Correct typo

Philipp Hagemeister 11 년 전
부모
커밋
daebaab692
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      youtube_dl/extractor/common.py

+ 1 - 1
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)