mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-11-03 12:22:19 +01:00
Merge pull request #29 from skullydazed/pad_node_ids
Pad Node IDs so they can be copied and pasted successfully
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -164,7 +164,7 @@ def node_id_to_hex(node_id):
|
||||
if node_id == 4294967295:
|
||||
return "^all"
|
||||
else:
|
||||
return f"!{hex(node_id)[2:]}"
|
||||
return f"!{hex(node_id)[2:].zfill(8)}"
|
||||
|
||||
|
||||
def format_timestamp(timestamp):
|
||||
|
||||
Reference in new issue
Block a user