Check against proper full name for moved protobufs

This commit is contained in:
Ian McEwen committed 2024-03-29 18:38:26 -07:00
1 parent 4baef92523
commit 59091664db
1 file changed
+1 -1
+1 -1
View File
@@ -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)