summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OverLoadMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 01:55:52 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 01:55:52 +0100
commit7beb65e991bc6d1913c3b5bb2ef69e659d5b8342 (patch)
treee076082f6cb799a820eee287c47f24f082b3a41c /module/plugins/accounts/OverLoadMe.py
parent[DDLMusicOrg] Removed (diff)
downloadpyload-7beb65e991bc6d1913c3b5bb2ef69e659d5b8342.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r--module/plugins/accounts/OverLoadMe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index d59944e63..64d04aded 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -15,7 +15,7 @@ class OverLoadMe(Account):
def loadAccountInfo(self, user, req):
- https = "https" if self.getConfig("ssl") else "http"
+ https = "https" if self.getConfig('ssl') else "http"
data = self.getAccountData(user)
html = req.load(https + "://api.over-load.me/account.php",
get={'user': user,
@@ -32,7 +32,7 @@ class OverLoadMe(Account):
def login(self, user, data, req):
- https = "https" if self.getConfig("ssl") else "http"
+ https = "https" if self.getConfig('ssl') else "http"
jsondata = req.load(https + "://api.over-load.me/account.php",
get={'user': user,
'auth': data['password']}).strip()