Adds delimiter to serial output.

This commit is contained in:
Lukas Prause
2023-03-16 12:57:18 +01:00
parent 58935bd3c6
commit 3362ba2c60

View File

@@ -239,7 +239,7 @@ def monitor_serial(ser, output_file):
# .replace(";;OK", ";") # .replace(";;OK", ";")
# .replace(";;", ";") # .replace(";;", ";")
#) #)
write_to_file(output_file, response + "\n") write_to_file(output_file, response + ";;;\n")
except: except:
if not ser.is_open: if not ser.is_open:
print_message("Serial port is closed. Exit monitoring thread.") print_message("Serial port is closed. Exit monitoring thread.")