From 06b87b376cf12f8f75f3598e6ac16b480cab8a25 Mon Sep 17 00:00:00 2001 From: Manuel Verch Date: Thu, 6 Apr 2023 09:31:00 +0200 Subject: [PATCH] Fix: showNodes crash #439 --- meshtastic/mesh_interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshtastic/mesh_interface.py b/meshtastic/mesh_interface.py index 869309b..11beb47 100644 --- a/meshtastic/mesh_interface.py +++ b/meshtastic/mesh_interface.py @@ -160,8 +160,8 @@ class MeshInterface: if user: row.update( { - "User": user["longName"], - "AKA": user["shortName"], + "User": user.get("longName", "N/A"), + "AKA": user.get("shortName", "N/A"), "ID": user["id"], } )