mirror of
https://github.com/meshtastic/python.git
synced 2026-04-18 05:53:12 -04:00
--dest doesn't work with --export-config
This commit is contained in:
@@ -602,6 +602,9 @@ def onConnected(interface):
|
|||||||
print("Writing modified configuration to device")
|
print("Writing modified configuration to device")
|
||||||
|
|
||||||
if args.export_config:
|
if args.export_config:
|
||||||
|
if args.dest != BROADCAST_ADDR:
|
||||||
|
print("Exporting configuration of remote nodes is not supported.")
|
||||||
|
return
|
||||||
# export the configuration (the opposite of '--configure')
|
# export the configuration (the opposite of '--configure')
|
||||||
closeNow = True
|
closeNow = True
|
||||||
export_config(interface)
|
export_config(interface)
|
||||||
|
|||||||
Reference in New Issue
Block a user