mirror of
https://github.com/meshtastic/python.git
synced 2025-12-31 20:08:02 -05:00
Print 0 for channel rather than N/A, since we should probably always have a channel. Fixes #562
This commit is contained in:
@@ -211,8 +211,8 @@ class MeshInterface:
|
||||
row.update(
|
||||
{
|
||||
"SNR": formatFloat(node.get("snr"), 2, " dB"),
|
||||
"Hops Away": node.get("hopsAway", "unknown"),
|
||||
"Channel": node.get("channel"),
|
||||
"Hops Away": node.get("hopsAway", "0/unknown"),
|
||||
"Channel": node.get("channel", 0),
|
||||
"LastHeard": getLH(node.get("lastHeard")),
|
||||
"Since": getTimeAgo(node.get("lastHeard")),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user