summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OverLoadMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 17:34:30 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 17:34:30 +0100
commitf533c3c58f632e188d288535fc972e633c6b8f0a (patch)
treed1ee86282d7f1cfd470d1f0a3f8aa090fa5532c0 /module/plugins/accounts/OverLoadMe.py
parent[SkipRev] Improve file name grabbing (diff)
downloadpyload-f533c3c58f632e188d288535fc972e633c6b8f0a.tar.xz
Fix SSL option in some hoster plugins
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r--module/plugins/accounts/OverLoadMe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index 1fb2a2a10..d59944e63 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -7,7 +7,7 @@ from module.common.json_layer import json_loads
class OverLoadMe(Account):
__name__ = "OverLoadMe"
__type__ = "account"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = """Over-Load.me account plugin"""
__license__ = "GPLv3"
@@ -15,7 +15,7 @@ class OverLoadMe(Account):
def loadAccountInfo(self, user, req):
- https = "https" if self.getConfig("https") 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("https") 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()