Skip to content

Commit a765bcc

Browse files
authored
Merge pull request #718 from ianmcorvidae/show-unknown-more-nicely
Display unknown hop count as '?', and header as just 'Hops'
2 parents 7c7170a + f950eca commit a765bcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meshtastic/mesh_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def getTimeAgo(ts) -> Optional[str]:
303303
row.update(
304304
{
305305
"SNR": formatFloat(node.get("snr"), 2, " dB"),
306-
"Hops Away": node.get("hopsAway", "0/unknown"),
306+
"Hops": node.get("hopsAway", "?"),
307307
"Channel": node.get("channel", 0),
308308
"LastHeard": getLH(node.get("lastHeard")),
309309
"Since": getTimeAgo(node.get("lastHeard")),

0 commit comments

Comments
 (0)