Display unknown hop count as '?', and header as just 'Hops'

This commit is contained in:
Ian McEwen
2024-12-20 23:04:36 -07:00
parent 843abe587f
commit f950ecae2d

View File

@@ -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")),