From 97b6d67177934d85c8c6fcc64869aa79dd752a28 Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Sun, 9 Sep 2018 16:58:12 +0200 Subject: [PATCH] Return json to Data.__repr__() --- circuitpython/code/cameteo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circuitpython/code/cameteo.py b/circuitpython/code/cameteo.py index 57594b7..8688831 100644 --- a/circuitpython/code/cameteo.py +++ b/circuitpython/code/cameteo.py @@ -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"""