From f950ecae2d4e9128f58ae0b8f4a653587de82a7d Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Fri, 20 Dec 2024 23:04:36 -0700 Subject: [PATCH] Display unknown hop count as '?', and header as just 'Hops' --- meshtastic/mesh_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/mesh_interface.py b/meshtastic/mesh_interface.py index 2da04ce..a9fc986 100644 --- a/meshtastic/mesh_interface.py +++ b/meshtastic/mesh_interface.py @@ -303,7 +303,7 @@ class MeshInterface: # pylint: disable=R0902 row.update( { "SNR": formatFloat(node.get("snr"), 2, " dB"), - "Hops Away": node.get("hopsAway", "0/unknown"), + "Hops": node.get("hopsAway", "?"), "Channel": node.get("channel", 0), "LastHeard": getLH(node.get("lastHeard")), "Since": getTimeAgo(node.get("lastHeard")),