mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 22:39:18 -04:00
didn't spell it wrong
This commit is contained in:
1 parent
1b5b07e752
commit
b73fcbff88
1 file changed
+4
-4
@@ -363,11 +363,11 @@ def onConnected(interface):
|
||||
if args.set_is_unmessagable:
|
||||
closeNow = True
|
||||
waitForAckNak = True
|
||||
print(f"Setting is_unmessagable to {args.set_is_unmessageable}")
|
||||
if isinstance(args.set_is_unmessageable, str):
|
||||
val = meshtastic.util.fromStr(args.set_is_unmessageable)
|
||||
print(f"Setting is_unmessagable to {args.set_is_unmessagable}")
|
||||
if isinstance(args.set_is_unmessagable, str):
|
||||
val = meshtastic.util.fromStr(args.set_is_unmessagable)
|
||||
else:
|
||||
val = args.set_is_unmessageable
|
||||
val = args.set_is_unmessagable
|
||||
interface.getNode(args.dest, **getNode_kwargs).setIsUnmessageable(is_unmessagable=val)
|
||||
|
||||
# TODO: add to export-config and configure
|
||||
|
||||
Reference in new issue
Block a user