summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/ShareLinksBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/ShareLinksBiz.py')
-rw-r--r--pyload/plugin/crypter/ShareLinksBiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/crypter/ShareLinksBiz.py b/pyload/plugin/crypter/ShareLinksBiz.py
index 5cc796475..9cae0017a 100644
--- a/pyload/plugin/crypter/ShareLinksBiz.py
+++ b/pyload/plugin/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