From 785e3992e4c49fb8c0580f7647b383e04ccd1ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 12 Aug 2022 02:24:08 +0200 Subject: [PATCH] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- pc-client/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc-client/main.py b/pc-client/main.py index 21e7256..4b8c4c1 100644 --- a/pc-client/main.py +++ b/pc-client/main.py @@ -16,8 +16,8 @@ host = serial.Serial('COM3', 9600) while True: try: output = str(host.readline()) - output = output.replace("\r\n'", "") output = output.replace("b'", "") + output = output.replace("\r\n'", "") print(output) except KeyboardInterrupt: exit() \ No newline at end of file