summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YoutubeCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/YoutubeCom.py')
-rw-r--r--module/plugins/hoster/YoutubeCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py
index 79c359ad7..6b69c3fd4 100644
--- a/module/plugins/hoster/YoutubeCom.py
+++ b/module/plugins/hoster/YoutubeCom.py
@@ -17,7 +17,7 @@ class YoutubeCom(Hoster):
def process(self, pyfile):
html = self.load(pyfile.url)
- if re.search(r"(.*eine fehlerhafte Video-ID\.)", html) != None:
+ if re.search(r"(.*eine fehlerhafte Video-ID\.)", html) is not None:
self.offline()
videoId = pyfile.url.split("v=")[1].split("&")[0]