Module method

This commit is contained in:
Nico Schottelius 2016-11-02 17:44:01 +01:00
parent aaea16fccd
commit 3ae889d5a2
1 changed files with 1 additions and 1 deletions

View File

@ -36,5 +36,5 @@ def db_insert_json(provider, data, payload='', deveui=''):
except Exception as e:
log.error("DB Insert failed: %s" % e)
def jsonToDict(self, data):
def jsonToDict(data):
return json.loads(data)