From 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 17 Jul 2015 15:29:48 +0200 Subject: No more need to use the req argument when call load method --- module/plugins/accounts/OverLoadMe.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/OverLoadMe.py') diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py index 22f2f4d9f..b0e38c849 100644 --- a/module/plugins/accounts/OverLoadMe.py +++ b/module/plugins/accounts/OverLoadMe.py @@ -18,8 +18,7 @@ class OverLoadMe(Account): data = self.get_account_data(user) html = self.load("https://api.over-load.me/account.php", get={'user': user, - 'auth': data['password']}, - req=req).strip() + 'auth': data['password']}).strip() data = json_loads(html) self.log_debug(data) @@ -34,8 +33,7 @@ class OverLoadMe(Account): def login(self, user, data, req): jsondata = self.load("https://api.over-load.me/account.php", get={'user': user, - 'auth': data['password']}, - req=req).strip() + 'auth': data['password']}).strip() data = json_loads(jsondata) -- cgit v1.2.3