mirror of
https://github.com/meshtastic/python.git
synced 2025-12-31 20:08:02 -05: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")
|
||||
|
||||
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')
|
||||
closeNow = True
|
||||
export_config(interface)
|
||||
|
||||
Reference in New Issue
Block a user