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

This commit is contained in:
Kevin Hester committed 2020-12-15 17:08:31 +08:00
1 parent 5952972334
commit 0759c1593f
1 file changed
+1 -1
+1 -1
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]