Changed the path option to a ListOpt

Both serial_kiss and tcp_kiss path option is converted to a ListOpt
to help generate a single line during sample-config generation.
This commit is contained in:
Hemna 2023-10-06 15:44:25 -04:00
parent 156d9d9592
commit 0155923341
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ kiss_serial_opts = [
default=9600,
help="The Serial device baud rate for communication",
),
cfg.MultiStrOpt(
cfg.ListOpt(
"path",
default=["WIDE1-1", "WIDE2-1"],
help="The APRS path to use for wide area coverage.",
@ -94,7 +94,7 @@ kiss_tcp_opts = [
default=8001,
help="The KISS TCP/IP network port",
),
cfg.MultiStrOpt(
cfg.ListOpt(
"path",
default=["WIDE1-1", "WIDE2-1"],
help="The APRS path to use for wide area coverage.",