diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-08 15:38:01 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-08 15:38:01 +0200 |
commit | 02e3ede3edcf4415ac466fbea9d4f25d9ccc8671 (patch) | |
tree | 81084f9263f9229790e62097957d5132f18028e9 /module/plugins/hoster/YoupornCom.py | |
parent | [UserAgentSwitcher] Random user-agent feature (diff) | |
download | pyload-02e3ede3edcf4415ac466fbea9d4f25d9ccc8671.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/YoupornCom.py')
-rw-r--r-- | module/plugins/hoster/YoupornCom.py | 2 |
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 |