mirror of
https://github.com/meshtastic/python.git
synced 2026-05-25 00:35:21 -04:00
refactor code to only call local node when necessary; fix tests
This commit is contained in:
@@ -257,6 +257,7 @@ class Node:
|
||||
p = admin_pb2.AdminMessage()
|
||||
p.get_radio_request = True
|
||||
|
||||
# TODO: should we check that localNode has an 'admin' channel?
|
||||
# Show progress message for super slow operations
|
||||
if self != self.iface.localNode:
|
||||
print("Requesting preferences from remote node.")
|
||||
|
||||
Reference in New Issue
Block a user