From b934596cfd5415ce83b5a7b42120e0f0e229937a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 19 Jul 2017 11:06:04 +0200 Subject: Add screen checker --- turtetris_slave/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'turtetris_slave/__init__.py') diff --git a/turtetris_slave/__init__.py b/turtetris_slave/__init__.py index 5779dee..d5dd129 100644 --- a/turtetris_slave/__init__.py +++ b/turtetris_slave/__init__.py @@ -23,7 +23,7 @@ def main(): while True: msg = sck.recv_string() print(msg) - json0 = msg.find(' ') # First empty char is end of envelope + json0 = msg.find(' ') # First empty char is end of envelope leds.output(json.loads(msg[json0:])) -- cgit v1.2.3