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.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/FilesMailRu.py b/module/plugins/accounts/FilesMailRu.py
index b1ec45c42..8335b92e3 100644
--- a/module/plugins/accounts/FilesMailRu.py
+++ b/module/plugins/accounts/FilesMailRu.py
@@ -14,17 +14,17 @@ class FilesMailRu(Account):
def load_account_info(self, user, req):
- return {"validuntil": None, "trafficleft": None}
+ return {'validuntil': None, 'trafficleft': None}
def login(self, user, data, req):
user, domain = user.split("@")
html = self.load("https://swa.mail.ru/cgi-bin/auth",
- post={"Domain" : domain,
- "Login" : user,
- "Password": data['password'],
- "Page" : "http://files.mail.ru/"})
+ post={'Domain' : domain,
+ 'Login' : user,
+ 'Password': data['password'],
+ 'Page' : "http://files.mail.ru/"})
if "Неверное имя пользователя или пароль" in html:
self.wrong_password()