summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PornhubCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/PornhubCom.py')
-rw-r--r--module/plugins/hoster/PornhubCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/PornhubCom.py b/module/plugins/hoster/PornhubCom.py
index 5345566a1..ce6badedd 100644
--- a/module/plugins/hoster/PornhubCom.py
+++ b/module/plugins/hoster/PornhubCom.py
@@ -67,7 +67,7 @@ class PornhubCom(Hoster):
self.download_html()
m = re.search(r'<title.+?>([^<]+) - ', self.html)
- if m:
+ if m is not None:
name = m.group(1)
else:
matches = re.findall('<h1>(.*?)</h1>', self.html)