summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegaRapidoNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-25 09:34:18 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-25 09:34:18 +0200
commita95c217627a1cb651b24e69f20640df40797aff9 (patch)
tree63fcbffd55b704b461446c1724022e76373dac12 /module/plugins/accounts/MegaRapidoNet.py
parentAccount rewritten (diff)
downloadpyload-a95c217627a1cb651b24e69f20640df40797aff9.tar.xz
Account rewritten (2)
Diffstat (limited to 'module/plugins/accounts/MegaRapidoNet.py')
-rw-r--r--module/plugins/accounts/MegaRapidoNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/MegaRapidoNet.py b/module/plugins/accounts/MegaRapidoNet.py
index d07df500c..08cf1f535 100644
--- a/module/plugins/accounts/MegaRapidoNet.py
+++ b/module/plugins/accounts/MegaRapidoNet.py
@@ -49,10 +49,10 @@ class MegaRapidoNet(Account):
html = self.load("http://megarapido.net/gerador")
if "sair" not in html.lower():
- self.fail()
+ self.login_fail()
else:
m = re.search(self.USER_ID_PATTERN, html)
if m:
data['uid'] = m.group(1)
else:
- self.fail("Couldn't find the user ID")
+ self.login_fail("Couldn't find the user ID")