fix #21 - which I thought I had fixed long ago but did not

This commit is contained in:
Kevin Hester
2020-12-15 17:08:31 +08:00
parent 5952972334
commit 0759c1593f

View File

@@ -709,7 +709,7 @@ class SerialInterface(StreamInterface):
raise Exception("No Meshtastic devices detected")
elif len(ports) > 1:
raise Exception(
f"Multiple ports detected, you must specify a device, such as {ports[0].device}")
f"Multiple ports detected, you must specify a device, such as {ports[0]}")
else:
devPath = ports[0]