aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown <blackjack4494@web.de>2020-09-12 01:12:39 +0200
committerUnknown <blackjack4494@web.de>2020-09-12 01:12:39 +0200
commit921dc153f365268443c1decf6d347046c9d32ff9 (patch)
treeb605e2e0e94eccbc9379ffeb2c711c69a73f081a
parentdc9d8f44d63d125ec2a5f37256bc4afa7be7c77b (diff)
downloadhypervideo-pre-921dc153f365268443c1decf6d347046c9d32ff9.tar.lz
hypervideo-pre-921dc153f365268443c1decf6d347046c9d32ff9.tar.xz
hypervideo-pre-921dc153f365268443c1decf6d347046c9d32ff9.zip
[ndr-daserste] flake8
-rw-r--r--youtube_dlc/extractor/ndr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/ndr.py b/youtube_dlc/extractor/ndr.py
index f03582118..f3897c71b 100644
--- a/youtube_dlc/extractor/ndr.py
+++ b/youtube_dlc/extractor/ndr.py
@@ -93,7 +93,7 @@ class NDRIE(NDRBaseIE):
default=None) or self._search_regex(
r'\bembedUrl["\']\s*:\s*(["\'])(?P<url>(?:(?!\1).)+)\1', webpage,
'embed URL', fatal=False, group='url')
- if embed_url == None:
+ if embed_url is None:
return self.url_result('ndr:%s' % id, ie=NDREmbedBaseIE.ie_key())
description = self._search_regex(
r'<p[^>]+itemprop="description">([^<]+)</p>',