From 0759c1593f1338a9d2bf20f13a168c7439f0da38 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Tue, 15 Dec 2020 17:08:31 +0800 Subject: [PATCH] fix #21 - which I thought I had fixed long ago but did not --- meshtastic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]