Skip to content

Commit bd68739

Browse files
committed
>= 8 instead of > 8
1 parent 530d92e commit bd68739

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
@@ -892,7 +892,7 @@ def _sendPacket(
892892
else:
893893
our_exit("Warning: No myInfo found.")
894894
# A simple hex style nodeid - we can parse this without needing the DB
895-
elif isinstance(destinationId, str) and len(destinationId) > 8:
895+
elif isinstance(destinationId, str) and len(destinationId) >= 8:
896896
# assuming some form of node id string such as !1234578 or 0x12345678
897897
# always grab the last 8 items of the hexadecimal id str and parse to integer
898898
nodeNum = int(destinationId[-8:], 16)

0 commit comments

Comments
 (0)