From 21a0b9663af74c06b2a41a27b06c6fa3881f8a9b Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 18 Oct 2015 18:52:10 +0200 Subject: Update accounts --- module/plugins/accounts/LetitbitNet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/LetitbitNet.py') 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']) -- cgit v1.2.3