changed var way of proc

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

View File

@ -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'", "")
print(output)
output1 = output.replace("\r\n'", "")
output2 = output1.replace("b'", "")
print(output2)
except KeyboardInterrupt:
exit()