summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilesMailRu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FilesMailRu.py')
-rw-r--r--module/plugins/accounts/FilesMailRu.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/FilesMailRu.py b/module/plugins/accounts/FilesMailRu.py
index 3f9068fff..a1f86f7b5 100644
--- a/module/plugins/accounts/FilesMailRu.py
+++ b/module/plugins/accounts/FilesMailRu.py
@@ -20,12 +20,11 @@ class FilesMailRu(Account):
def login(self, user, data, req):
user, domain = user.split("@")
- html = req.load("https://swa.mail.ru/cgi-bin/auth",
+ html = self.load("https://swa.mail.ru/cgi-bin/auth",
post={"Domain": domain,
"Login": user,
"Password": data['password'],
- "Page": "http://files.mail.ru/"},
- decode=True)
+ "Page": "http://files.mail.ru/"}, req=req)
if "Неверное имя пользователя или пароль" in html:
self.wrongPassword()