Return json to Data.__repr__()

This commit is contained in:
Pierrick C 2018-09-09 16:58:12 +02:00
parent fba971349c
commit 97b6d67177

View File

@ -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"""