mirror of
https://github.com/meshtastic/python.git
synced 2025-12-31 03:47:55 -05:00
Check against proper full name for moved protobufs
This commit is contained in:
@@ -123,7 +123,7 @@ class Node:
|
||||
print("Requesting current config from remote node (this can take a while).")
|
||||
|
||||
msgIndex = configType.index
|
||||
if configType.containing_type.full_name == "LocalConfig":
|
||||
if configType.containing_type.full_name in ("meshtastic.LocalConfig", "LocalConfig"):
|
||||
p = admin_pb2.AdminMessage()
|
||||
p.get_config_request = msgIndex
|
||||
self._sendAdmin(p, wantResponse=True, onResponse=onResponse)
|
||||
|
||||
Reference in New Issue
Block a user