diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-28 16:39:05 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-28 16:39:05 +0100 |
commit | 7a50846d817ae6ab4d257514af59a4977821a4c1 (patch) | |
tree | ecabf7fa8b08bde564f6a7ba63686e22743646e6 /module/plugins/accounts/PremiumizeMe.py | |
parent | closed #25 (diff) | |
download | pyload-7a50846d817ae6ab4d257514af59a4977821a4c1.tar.xz |
fixed last commit
Diffstat (limited to 'module/plugins/accounts/PremiumizeMe.py')
-rw-r--r-- | module/plugins/accounts/PremiumizeMe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/PremiumizeMe.py b/module/plugins/accounts/PremiumizeMe.py index 07187f908..1a446b842 100644 --- a/module/plugins/accounts/PremiumizeMe.py +++ b/module/plugins/accounts/PremiumizeMe.py @@ -15,7 +15,7 @@ class PremiumizeMe(Account): # Get user data from premiumize.me
status = self.getAccountStatus(user, req)
- self.logDebug("Api Result: " + status)
+ self.logDebug(status)
# Parse account info
account_info = {"validuntil": float(status['result']['expires']),
@@ -41,4 +41,4 @@ class PremiumizeMe(Account): # Use premiumize.me API v1 (see https://secure.premiumize.me/?show=api) to retrieve account info and return the parsed json answer
answer = req.load("https://api.premiumize.me/pm-api/v1.php?method=accountstatus¶ms[login]=%s¶ms[pass]=%s" % (user, self.accounts[user]['password']))
return json_loads(answer)
-
\ No newline at end of file +
|