changed way of proc

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-08-12 02:22:57 +02:00
parent 4dca6a1f78
commit bb4d30a031
1 changed files with 2 additions and 2 deletions

View File

@ -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()