Skip to content

Commit 5600ce9

Browse files
committed
update to comments
1 parent efb848a commit 5600ce9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meshtastic/mesh_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,10 +472,10 @@ def sendData(
472472
# issue 464: allow for 0x prefix in destinationId for hex values
473473
# destination ids can either be integers or strings with a !prefix
474474
try:
475-
# sometimes the destinationId is actually a int as a string, so doing a type() check won't work
475+
# sometimes the destinationId is actually an int as a string, so doing a type() check won't work
476476
int(destinationId)
477477
except ValueError:
478-
# only take the last 8 characters of the destinationId and force a ! prefix
478+
# only take the last 8 characters of the hexadecimal destinationId and force a ! prefix
479479
destinationId = f'!{destinationId[-8:]}'
480480

481481
if getattr(data, "SerializeToString", None):

0 commit comments

Comments
 (0)