summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OverLoadMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 03:03:26 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 03:03:26 +0200
commitd2e2b127651a5a44b56337eb6d9ca246c97a208a (patch)
tree46f34e2102fd44ed2f719727eb07a445e7baa77d /module/plugins/accounts/OverLoadMe.py
parentNo camelCase style anymore (diff)
downloadpyload-d2e2b127651a5a44b56337eb6d9ca246c97a208a.tar.xz
Spare fixes and code cosmetics
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r--module/plugins/accounts/OverLoadMe.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index d47a579f2..22f2f4d9f 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -17,8 +17,9 @@ class OverLoadMe(Account):
def load_account_info(self, user, req):
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()
+ get={'user': user,
+ 'auth': data['password']},
+ req=req).strip()
data = json_loads(html)
self.log_debug(data)
@@ -32,8 +33,9 @@ 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()
+ get={'user': user,
+ 'auth': data['password']},
+ req=req).strip()
data = json_loads(jsondata)