diff --git a/meshtastic/__init__.py b/meshtastic/__init__.py index 22e9ee7..5a6e640 100644 --- a/meshtastic/__init__.py +++ b/meshtastic/__init__.py @@ -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]