summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YoupornCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/YoupornCom.py')
-rw-r--r--module/plugins/hoster/YoupornCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/YoupornCom.py b/module/plugins/hoster/YoupornCom.py
index 4bb2520e6..19d07fa36 100644
--- a/module/plugins/hoster/YoupornCom.py
+++ b/module/plugins/hoster/YoupornCom.py
@@ -54,7 +54,7 @@ class YoupornCom(Hoster):
"""
if not self.html:
self.download_html()
- if re.search(r"(.*invalid video_id.*)", self.html) is not None:
+ if re.search(r"(.*invalid video_id.*)", self.html):
return False
else:
return True