mirror of
https://github.com/pdxlocations/contact.git
synced 2026-08-08 09:53:08 +02:00
fix typo
This commit is contained in:
@@ -17,7 +17,7 @@ def initialize_interface(args):
|
|||||||
tcp_port = meshtastic.tcp_interface.DEFAULT_TCP_PORT
|
tcp_port = meshtastic.tcp_interface.DEFAULT_TCP_PORT
|
||||||
return meshtastic.tcp_interface.TCPInterface(tcp_hostname, portNumber=tcp_port)
|
return meshtastic.tcp_interface.TCPInterface(tcp_hostname, portNumber=tcp_port)
|
||||||
except Exception as ex:
|
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:
|
else:
|
||||||
try:
|
try:
|
||||||
client = meshtastic.serial_interface.SerialInterface(args.port)
|
client = meshtastic.serial_interface.SerialInterface(args.port)
|
||||||
|
|||||||
Reference in New Issue
Block a user