Browse Source

[npo] Remove unused import

Philipp Hagemeister 10 years ago
parent
commit
5c4a81d934
1 changed files with 3 additions and 4 deletions
  1. 3 4
      youtube_dl/extractor/npo.py

+ 3 - 4
youtube_dl/extractor/npo.py

@@ -4,13 +4,12 @@ import re
 
 
 from .common import InfoExtractor
 from .common import InfoExtractor
 from ..utils import (
 from ..utils import (
-    unified_strdate,
+    fix_xml_ampersands,
     parse_duration,
     parse_duration,
     qualities,
     qualities,
     strip_jsonp,
     strip_jsonp,
+    unified_strdate,
     url_basename,
     url_basename,
-    fix_xml_ampersands,
-    determine_ext,
 )
 )
 
 
 
 
@@ -136,7 +135,7 @@ class NPOIE(InfoExtractor):
                 stream_url = stream.get('url')
                 stream_url = stream.get('url')
                 if not stream_url:
                 if not stream_url:
                     continue
                     continue
-                if not '.asf' in stream_url:
+                if '.asf' not in stream_url:
                     formats.append({
                     formats.append({
                         'url': stream_url,
                         'url': stream_url,
                         'quality': stream.get('kwaliteit'),
                         'quality': stream.get('kwaliteit'),