diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-11 20:20:43 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-11 20:20:43 +0100 |
commit | 187586c77f750340c2d8c84781c82a3e612f17c3 (patch) | |
tree | 6ef89bf039cff4ec6149c2e9de8e3794b714cb9b /module/plugins/accounts | |
parent | [NitroflareCom] Fix bad import (diff) | |
download | pyload-187586c77f750340c2d8c84781c82a3e612f17c3.tar.xz |
Fix getAccount in some plugins
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/SmoozedCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/SmoozedCom.py b/module/plugins/accounts/SmoozedCom.py index d192f20cf..e6c25752b 100644 --- a/module/plugins/accounts/SmoozedCom.py +++ b/module/plugins/accounts/SmoozedCom.py @@ -12,7 +12,7 @@ from module.plugins.Account import Account class SmoozedCom(Account): __name__ = "SmoozedCom" __type__ = "account" - __version__ = "0.02" + __version__ = "0.03" __description__ = """Smoozed.com account plugin""" __license__ = "GPLv3" @@ -33,7 +33,7 @@ class SmoozedCom(Account): # Parse account info info = {'validuntil' : float(status["data"]["user"]["user_premium"]), 'trafficleft': max(0, status["data"]["traffic"][1] - status["data"]["traffic"][0]), - 'session_key': status["data"]["session_key"], + 'session' : status["data"]["session_key"], 'hosters' : [hoster["name"] for hoster in status["data"]["hoster"]]} if info['validuntil'] < time(): |