diff --git a/pc-client/main.py b/pc-client/main.py index 4b68de5..21e7256 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.replace("\r\n'", "") - output.replace("b'", "") + output = output.replace("\r\n'", "") + output = output.replace("b'", "") print(output) except KeyboardInterrupt: exit() \ No newline at end of file