summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PornhostCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-10-16 15:27:36 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-10-16 15:27:36 +0200
commitec79ab7187eda441f3c3194b836967049ca23cc9 (patch)
tree064d4f6085cd1050181120ffeeff381082ca3c81 /module/plugins/hoster/PornhostCom.py
parentMerge pull request #328 from vuolter/s/dead_crypters (diff)
downloadpyload-ec79ab7187eda441f3c3194b836967049ca23cc9.tar.xz
Hosters: replaced line continuation with brackets
Diffstat (limited to 'module/plugins/hoster/PornhostCom.py')
-rw-r--r--module/plugins/hoster/PornhostCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/PornhostCom.py b/module/plugins/hoster/PornhostCom.py
index d443c6a0a..1d340694b 100644
--- a/module/plugins/hoster/PornhostCom.py
+++ b/module/plugins/hoster/PornhostCom.py
@@ -68,8 +68,8 @@ class PornhostCom(Hoster):
if self.html is None:
self.download_html()
- if re.search(r'gallery not found', self.html) is not None \
- or re.search(r'You will be redirected to', self.html) is not None:
+ if (re.search(r'gallery not found', self.html) is not None or
+ re.search(r'You will be redirected to', self.html) is not None):
return False
else:
return True