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:
Pablo Revilla
2025-06-23 09:53:52 -07:00
committed by GitHub

View File

@@ -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):