diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-20 18:43:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 22:46:01 +0100 |
commit | 5deded62d94c04be64d34f6b67d07803eea9b6bf (patch) | |
tree | a33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/accounts/OverLoadMe.py | |
parent | Update addons (diff) | |
download | pyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r-- | module/plugins/accounts/OverLoadMe.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py index 1f12fde83..0155d4efc 100644 --- a/module/plugins/accounts/OverLoadMe.py +++ b/module/plugins/accounts/OverLoadMe.py @@ -41,11 +41,11 @@ class OverLoadMe(MultiAccount): def signin(self, user, password, data): - jsondata = self.load("https://api.over-load.me/account.php", - get={'user': user, - 'auth': password}).strip() + html = self.load("https://api.over-load.me/account.php", + get={'user': user, + 'auth': password}).strip() - data = json.loads(jsondata) + data = json.loads(html) if data['err'] is 1: self.fail_login() |