Return json to Data.__repr__()
This commit is contained in:
parent
fba971349c
commit
97b6d67177
@ -86,7 +86,7 @@ class Data:
|
|||||||
return output
|
return output
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return self.name
|
return self.json
|
||||||
|
|
||||||
def update(self, current, verbose=True):
|
def update(self, current, verbose=True):
|
||||||
"""Read the data from sensors and update the data dict variable"""
|
"""Read the data from sensors and update the data dict variable"""
|
||||||
|
Loading…
Reference in New Issue
Block a user