From 4c618182111796dec1a157910b2b7a22cb2f74e7 Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Thu, 9 Jan 2020 23:45:35 +0100 Subject: [PATCH 1/2] test --- cli/FlippR_Networking.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/FlippR_Networking.py b/cli/FlippR_Networking.py index 44f587e..e7b629c 100644 --- a/cli/FlippR_Networking.py +++ b/cli/FlippR_Networking.py @@ -25,7 +25,9 @@ class Networking: return self.get("/lamps").json() def getDisplays(self): - return self.get("/displays").json() + a = self.get("/displays").json() + print a + return a def triggerSolenoid(self, solenoid): self.get("/solenoids/" + solenoid + "/trigger") From 59b76013dac689c87ac6ba27ee7610957ab10429 Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Thu, 9 Jan 2020 23:45:57 +0100 Subject: [PATCH 2/2] test --- cli/FlippR_Networking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/FlippR_Networking.py b/cli/FlippR_Networking.py index e7b629c..d510506 100644 --- a/cli/FlippR_Networking.py +++ b/cli/FlippR_Networking.py @@ -26,7 +26,7 @@ class Networking: def getDisplays(self): a = self.get("/displays").json() - print a + print(a) return a def triggerSolenoid(self, solenoid):