mirror of
https://github.com/meshtastic/python.git
synced 2026-01-30 02:21:10 -05:00
fix #21 - which I thought I had fixed long ago but did not
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user