diff options
| author | 2015-07-25 04:59:27 +0200 | |
|---|---|---|
| committer | 2015-07-25 04:59:27 +0200 | |
| commit | 8f17f875f6e28f73ddb10da59c6464bd04922222 (patch) | |
| tree | 29631cd1f81a40283c71dfdd005b9d24370d5d7f /module/plugins/accounts/LetitbitNet.py | |
| parent | Fix typo (diff) | |
| download | pyload-8f17f875f6e28f73ddb10da59c6464bd04922222.tar.xz | |
Account rewritten
Diffstat (limited to 'module/plugins/accounts/LetitbitNet.py')
| -rw-r--r-- | module/plugins/accounts/LetitbitNet.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/LetitbitNet.py b/module/plugins/accounts/LetitbitNet.py index c4265761a..2d0e1b236 100644 --- a/module/plugins/accounts/LetitbitNet.py +++ b/module/plugins/accounts/LetitbitNet.py @@ -15,9 +15,9 @@ class LetitbitNet(Account):      __authors__     = [("stickell", "l.stickell@yahoo.it")] -    def load_account_info(self, user, req): +    def parse_info(self, user, password, data, req):          ## DISABLED BECAUSE IT GET 'key exausted' EVEN IF VALID ## -        # api_key   = self.get_account_data(user)['password'] +        # api_key   = self.get_data(user)['password']          # json_data = [api_key, ['key/info']]          # api_rep   = self.load("http://api.letitbit.net/json",          #                       post={'r': json_dumps(json_data)}) @@ -31,6 +31,6 @@ class LetitbitNet(Account):          return {'premium': True} -    def login(self, user, data, req): +    def login(self, user, password, data, req):          #: API_KEY is the username and the PREMIUM_KEY is the password          self.log_info(_("You must use your API KEY as username and the PREMIUM KEY as password"))  | 
