summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PornhostCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-10-23 13:03:37 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-10-23 13:03:37 +0200
commit29a62c4b9886d31bfa4b5e70db44eb59330bbe28 (patch)
tree47bb81dfb3eba95944dbf1efeb1096477cad8c4e /module/plugins/hoster/PornhostCom.py
parentNCryptIn: better folder name detect (diff)
parentHosters: replaced line continuation with brackets (diff)
downloadpyload-29a62c4b9886d31bfa4b5e70db44eb59330bbe28.tar.xz
Merge pull request #331 from vuolter/s/hoster_lc
Hosters: replace 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