From f842b2a03b3243ce9eb01003f497a575a8b35cbc Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 29 Aug 2020 13:42:39 +0200 Subject: [PATCH] dumb test fix 1 --- snippets/snippet1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/snippet1.py b/snippets/snippet1.py index c383c49..eadd39b 100644 --- a/snippets/snippet1.py +++ b/snippets/snippet1.py @@ -135,7 +135,7 @@ class MeterbusSerial(object): print("Waiting for input ... ") c = self.port.read() - print("State {}, Octet {:02X}".format(state, c)) + print("State {}, Octet {:02X}".format(state, c[0]))