Adds delimiter to serial output.
This commit is contained in:
@@ -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.")
|
||||||
|
|||||||
Reference in New Issue
Block a user