From 346377f0ecc8a28761fc49a7e3f62cdc705d68a3 Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Wed, 30 Oct 2019 21:38:34 +0100 Subject: [PATCH] fix python start of text char --- 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 fb1a6b4..2b8d1c9 100644 --- a/cli/FlippR_Networking.py +++ b/cli/FlippR_Networking.py @@ -47,7 +47,7 @@ class Networking: def getInputEvent(self): header = '' - while b'2' not in header: + while chr(2) not in header: header += self.input_socket.recv() length = int(header[:-1])