Correctly detect LocalConfig vs. LocalModuleConfig, again. fixes #630

This commit is contained in:
Ian McEwen
2024-07-03 20:35:58 -07:00
parent ae904f6dbe
commit 15b03b704c

View File

@@ -128,7 +128,7 @@ class Node:
print("Requesting current config from remote node (this can take a while).")
msgIndex = configType.index
if configType.containing_type.full_name in ("meshtastic.LocalConfig", "LocalConfig"):
if configType.containing_type.name == "LocalConfig":
p = admin_pb2.AdminMessage()
p.get_config_request = msgIndex
self._sendAdmin(p, wantResponse=True, onResponse=onResponse)