summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-11 23:43:09 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-11 23:43:09 +0100
commit5c4a81d9345f0520a9d40acbb8212fb94bcc9e24 (patch)
tree3864bdce3debdb891967966ff4a58ca156c1c8b2
parent263255eb8d45377e54e23841b55f0609f0e7e8a4 (diff)
downloadyoutube-dl-5c4a81d9345f0520a9d40acbb8212fb94bcc9e24.tar.gz
youtube-dl-5c4a81d9345f0520a9d40acbb8212fb94bcc9e24.tar.xz
youtube-dl-5c4a81d9345f0520a9d40acbb8212fb94bcc9e24.zip
[npo] Remove unused import
-rw-r--r--youtube_dl/extractor/npo.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py
index fcd4fea94..6d20f755a 100644
--- a/youtube_dl/extractor/npo.py
+++ b/youtube_dl/extractor/npo.py
@@ -4,13 +4,12 @@ import re
 
 from .common import InfoExtractor
 from ..utils import (
-    unified_strdate,
+    fix_xml_ampersands,
     parse_duration,
     qualities,
     strip_jsonp,
+    unified_strdate,
     url_basename,
-    fix_xml_ampersands,
-    determine_ext,
 )
 
 
@@ -136,7 +135,7 @@ class NPOIE(InfoExtractor):
                 stream_url = stream.get('url')
                 if not stream_url:
                     continue
-                if not '.asf' in stream_url:
+                if '.asf' not in stream_url:
                     formats.append({
                         'url': stream_url,
                         'quality': stream.get('kwaliteit'),