Skip to content

Commit b73fcbf

Browse files
committed
didn't spell it wrong
1 parent 1b5b07e commit b73fcbf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

meshtastic/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,11 @@ def onConnected(interface):
363363
if args.set_is_unmessagable:
364364
closeNow = True
365365
waitForAckNak = True
366-
print(f"Setting is_unmessagable to {args.set_is_unmessageable}")
367-
if isinstance(args.set_is_unmessageable, str):
368-
val = meshtastic.util.fromStr(args.set_is_unmessageable)
366+
print(f"Setting is_unmessagable to {args.set_is_unmessagable}")
367+
if isinstance(args.set_is_unmessagable, str):
368+
val = meshtastic.util.fromStr(args.set_is_unmessagable)
369369
else:
370-
val = args.set_is_unmessageable
370+
val = args.set_is_unmessagable
371371
interface.getNode(args.dest, **getNode_kwargs).setIsUnmessageable(is_unmessagable=val)
372372

373373
# TODO: add to export-config and configure

0 commit comments

Comments
 (0)