summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UpleaCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UpleaCom.py')
-rw-r--r--module/plugins/hoster/UpleaCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/UpleaCom.py b/module/plugins/hoster/UpleaCom.py
index db9517f42..9c422ce01 100644
--- a/module/plugins/hoster/UpleaCom.py
+++ b/module/plugins/hoster/UpleaCom.py
@@ -9,7 +9,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
class UpleaCom(XFSHoster):
__name__ = "UpleaCom"
__type__ = "hoster"
- __version__ = "0.12"
+ __version__ = "0.13"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?uplea\.com/dl/\w{15}'
@@ -20,7 +20,7 @@ class UpleaCom(XFSHoster):
("GammaC0de", None)]
- HOSTER_DOMAIN = "uplea.com"
+ PLUGIN_DOMAIN = "uplea.com"
SIZE_REPLACEMENTS = [('ko','KB'), ('mo','MB'), ('go','GB'), ('Ko','KB'), ('Mo','MB'), ('Go','GB')]
@@ -49,7 +49,7 @@ class UpleaCom(XFSHoster):
self.html = self.load(urlparse.urljoin("http://uplea.com/", m.group(1)))
m = re.search(self.WAIT_PATTERN, self.html)
- if m:
+ if m is not None:
self.log_debug("Waiting %s seconds" % m.group(1))
self.wait(m.group(1), True)
self.retry()