Return json to Data.__repr__()

This commit is contained in:
Pierrick C committed 2018-09-09 16:58:12 +02:00
1 parent fba971349c
commit 97b6d67177
1 file changed
+1 -1
+1 -1
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"""