mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
; is a comment in region files
This commit is contained in:
parent
f3b1319eda
commit
e859aae9ba
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue