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