diff --git a/meshtastic/node.py b/meshtastic/node.py index 31a5b03..48b9508 100644 --- a/meshtastic/node.py +++ b/meshtastic/node.py @@ -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)