summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/ShareLinksBiz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 15:38:01 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 15:38:01 +0200
commit02e3ede3edcf4415ac466fbea9d4f25d9ccc8671 (patch)
tree81084f9263f9229790e62097957d5132f18028e9 /module/plugins/crypter/ShareLinksBiz.py
parent[UserAgentSwitcher] Random user-agent feature (diff)
downloadpyload-02e3ede3edcf4415ac466fbea9d4f25d9ccc8671.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/ShareLinksBiz.py')
-rw-r--r--module/plugins/crypter/ShareLinksBiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py
index 4a0b61b5f..f17ba54d7 100644
--- a/module/plugins/crypter/ShareLinksBiz.py
+++ b/module/plugins/crypter/ShareLinksBiz.py
@@ -164,7 +164,7 @@ class ShareLinksBiz(Crypter):
# Extract from web package header
title_re = r'<h2><img.*?/>(.*)</h2>'
m = re.search(title_re, self.html, re.S)
- if m is not None:
+ if m:
title = m.group(1).strip()
if 'unnamed' not in title:
name = folder = title