aboutsummaryrefslogtreecommitdiff
path: root/turtetris_slave/__init__.py
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-07-19 11:06:04 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-07-19 14:31:18 +0200
commitb934596cfd5415ce83b5a7b42120e0f0e229937a (patch)
treeeba32535681447d1eedad0e8f1f40f299f86f027 /turtetris_slave/__init__.py
parentdd8bcc2da80d15280b9aa94cec648fbdac576cc3 (diff)
downloadturris-tetris-b934596cfd5415ce83b5a7b42120e0f0e229937a.tar.gz
turris-tetris-b934596cfd5415ce83b5a7b42120e0f0e229937a.tar.bz2
turris-tetris-b934596cfd5415ce83b5a7b42120e0f0e229937a.zip
Add screen checker
Diffstat (limited to 'turtetris_slave/__init__.py')
-rw-r--r--turtetris_slave/__init__.py2
1 files changed, 1 insertions, 1 deletions
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:]))