summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegaRapidCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 19:47:00 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 19:47:00 +0200
commit1b096b2eb2634e8dea80b06ab9ecde206b198b35 (patch)
treec37727ef1c0c43c553725c6a4ae92022f48bcc23 /module/plugins/hoster/MegaRapidCz.py
parent[Keep2shareCC] Fix CAPTCHA_PATTERN (diff)
downloadpyload-1b096b2eb2634e8dea80b06ab9ecde206b198b35.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/MegaRapidCz.py')
-rw-r--r--module/plugins/hoster/MegaRapidCz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MegaRapidCz.py b/module/plugins/hoster/MegaRapidCz.py
index 06e6626c6..153f6ea8b 100644
--- a/module/plugins/hoster/MegaRapidCz.py
+++ b/module/plugins/hoster/MegaRapidCz.py
@@ -53,7 +53,7 @@ class MegaRapidCz(SimpleHoster):
self.html = self.load(self.pyfile.url, decode=True)
except BadHeader, e:
self.account.relogin(self.user)
- self.retry(max_tries=3, reason=str(e))
+ self.retry(wait_time=60, reason=str(e))
m = re.search(self.LINK_PATTERN, self.html)
if m:
@@ -63,7 +63,7 @@ class MegaRapidCz(SimpleHoster):
else:
if re.search(self.ERR_LOGIN_PATTERN, self.html):
self.relogin(self.user)
- self.retry(max_tries=3, reason="User login failed")
+ self.retry(wait_time=60, reason="User login failed")
elif re.search(self.ERR_CREDIT_PATTERN, self.html):
self.fail("Not enough credit left")
else: