summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UpstoreNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UpstoreNet.py')
-rw-r--r--module/plugins/hoster/UpstoreNet.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/hoster/UpstoreNet.py b/module/plugins/hoster/UpstoreNet.py
index 12c667efb..caa12e8af 100644
--- a/module/plugins/hoster/UpstoreNet.py
+++ b/module/plugins/hoster/UpstoreNet.py
@@ -62,13 +62,11 @@ class UpstoreNet(SimpleHoster):
#: STAGE 3: get direct link
m = re.search(self.LINK_FREE_PATTERN, self.html, re.S)
- if m:
+ if m is not None:
break
- if m is None:
- self.error(_("Download link not found"))
-
- self.link = m.group(1)
+ if m is not None:
+ self.link = m.group(1)
getInfo = create_getInfo(UpstoreNet)