diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
commit | 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch) | |
tree | 820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/LinksnappyCom.py | |
parent | Spare fixes and code cosmetics (diff) | |
download | pyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz |
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/LinksnappyCom.py')
-rw-r--r-- | module/plugins/accounts/LinksnappyCom.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/accounts/LinksnappyCom.py b/module/plugins/accounts/LinksnappyCom.py index aa7db79e0..6a15e6be9 100644 --- a/module/plugins/accounts/LinksnappyCom.py +++ b/module/plugins/accounts/LinksnappyCom.py @@ -21,8 +21,7 @@ class LinksnappyCom(Account): r = self.load('http://gen.linksnappy.com/lseAPI.php', get={'act' : 'USERDETAILS', 'username': user, - 'password': hashlib.md5(data['password'], - req=req).hexdigest()}) + 'password': hashlib.md5(data['password']).hexdigest()}) self.log_debug("JSON data: " + r) @@ -56,8 +55,7 @@ class LinksnappyCom(Account): html = self.load("https://gen.linksnappy.com/lseAPI.php", get={'act' : 'USERDETAILS', 'username': user, - 'password': hashlib.md5(data['password'], - req=req).hexdigest()}) + 'password': hashlib.md5(data['password']).hexdigest()}) if "Invalid Account Details" in html: self.wrong_password() |