diff options
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 f7350e547..e5e4f7ae4 100644 --- a/module/plugins/accounts/LetitbitNet.py +++ b/module/plugins/accounts/LetitbitNet.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from module.plugins.internal.Account import Account -# from module.common.json_layer import json_loads, json_dumps +# from module.plugins.internal.utils import json class LetitbitNet(Account): @@ -19,9 +19,9 @@ class LetitbitNet(Account): ## DISABLED BECAUSE IT GET 'key exausted' EVEN IF VALID ## # json_data = [password, ['key/info']] # api_rep = self.load("http://api.letitbit.net/json", - # post={'r': json_dumps(json_data)}) + # post={'r': json.dumps(json_data)}) # self.log_debug("API Key Info: " + api_rep) - # api_rep = json_loads(api_rep) + # api_rep = json.loads(api_rep) # # if api_rep['status'] == "FAIL": # self.log_warning(api_rep['data']) |