This commit is contained in:
pdxlocations committed 2025-04-08 21:17:01 -07:00
1 parent c3ff85a646
commit cdd1d89062
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ def initialize_interface(args):
tcp_port = meshtastic.tcp_interface.DEFAULT_TCP_PORT
return meshtastic.tcp_interface.TCPInterface(tcp_hostname, portNumber=tcp_port)
except Exception as ex:
logging.error(f"Error connecting to {args.host}:{tcp_port}. {ex}")
logging.error(f"Error connecting to {args.host}. {ex}")
else:
try:
client = meshtastic.serial_interface.SerialInterface(args.port)