From e859aae9ba6e93267f4ed61885465e3d6ef2bc70 Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 5 Feb 2026 12:01:57 -0400 Subject: [PATCH] ; is a comment in region files --- src/meshcore_cli/meshcore_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index 7618b28..7e22d81 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -4060,7 +4060,8 @@ async def repeater_loop(port, baudrate): for line in file: if line.strip() == "": # terminate on empty line break - ser.write(f"{line.rstrip()}\r".encode()) + if not line.startswith(";"): # don't send lines starting with ; + ser.write(f"{line.rstrip()}\r".encode()) ser.write("\r".encode()) except FileNotFoundError: