List unknown node IDs always with 8 hex digits, padded with 0s

This commit is contained in:
Ian McEwen committed 2024-03-29 16:15:57 -07:00
1 parent 2746a8ebb6
commit ad8dbeab14
1 file changed
+1 -1
+1 -1
View File
@@ -162,7 +162,7 @@ class MeshInterface:
if not includeSelf and node["num"] == self.localNode.nodeNum:
continue
row = {"N": 0, "User": f"UNK: {node['num']}", "ID": f"!{node['num']:x}"}
row = {"N": 0, "User": f"UNK: {node['num']}", "ID": f"!{node['num']:08x}"}
user = node.get("user")
if user: