From 721a8e7e38876ba97777562b2dab33400768b0e8 Mon Sep 17 00:00:00 2001 From: bel Date: Tue, 12 Apr 2022 20:32:52 -0600 Subject: [PATCH] what happened --- poc/2-py-rps/buttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poc/2-py-rps/buttons.py b/poc/2-py-rps/buttons.py index ce35b87..185668e 100644 --- a/poc/2-py-rps/buttons.py +++ b/poc/2-py-rps/buttons.py @@ -26,7 +26,7 @@ def __init_keys__(): assert(_p.returncode == 0) stdout = _p.stdout result = [] - for line in stdout.split("\n".encode()): + for line in stdout.split("\n".encode())[1:]: if line: words = line.split() key = int(words[1])