summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2011-12-24 11:25:04 +0100
committerGravatar Jeix <devnull@localhost> 2011-12-24 11:25:04 +0100
commit9da54933b2bcf58fb0d2342942815ce9e333a400 (patch)
treeebeeb7c7e572b7193c2fb736e2adcf91b5b38624 /module/plugins/accounts
parentmerge hotfixes in (diff)
downloadpyload-9da54933b2bcf58fb0d2342942815ce9e333a400.tar.xz
ShareOnline Premium, OronCom updates
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py
index 967142204..4ecd7e1c2 100644
--- a/module/plugins/accounts/ShareonlineBiz.py
+++ b/module/plugins/accounts/ShareonlineBiz.py
@@ -23,14 +23,15 @@ import re
class ShareonlineBiz(Account):
__name__ = "ShareonlineBiz"
- __version__ = "0.2"
+ __version__ = "0.3"
__type__ = "account"
__description__ = """share-online.biz account plugin"""
__author_name__ = ("mkaay")
__author_mail__ = ("mkaay@mkaay.de")
def getUserAPI(self, user, req):
- src = req.load("http://api.share-online.biz/account.php?username=%s&password=%s&act=userDetails" % (user, self.accounts[user]["password"]))
+ data = self.getAccountData(user)
+ src = req.load("http://api.share-online.biz/account.php?username=%s&password=%s&act=userDetails" % (user, data["password"]))
info = {}
for line in src.splitlines():
key, value = line.split("=")