Skip to content

Commit 2c8fd8b

Browse files
authored
Merge pull request #632 from ianmcorvidae/remote-config-wrongtype-again
Correctly detect LocalConfig vs. LocalModuleConfig, again. fixes #630
2 parents ae904f6 + 15b03b7 commit 2c8fd8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meshtastic/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def requestConfig(self, configType):
128128
print("Requesting current config from remote node (this can take a while).")
129129

130130
msgIndex = configType.index
131-
if configType.containing_type.full_name in ("meshtastic.LocalConfig", "LocalConfig"):
131+
if configType.containing_type.name == "LocalConfig":
132132
p = admin_pb2.AdminMessage()
133133
p.get_config_request = msgIndex
134134
self._sendAdmin(p, wantResponse=True, onResponse=onResponse)

0 commit comments

Comments
 (0)