Skip to content

Commit

Permalink
Merge pull request #698 from lachesis/lachesis/fix-remote-module-cfg-get
Browse files Browse the repository at this point in the history
Add missing camel to snake conversion
  • Loading branch information
ianmcorvidae authored Oct 29, 2024
2 parents b90de8b + 073274c commit 1070d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshtastic/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def onResponseRequestSettings(self, p):
)
return
if config_values is not None:
raw_config = getattr(getattr(adminMessage['raw'], oneof), field)
raw_config = getattr(getattr(adminMessage['raw'], oneof), camel_to_snake(field))
config_values.CopyFrom(raw_config)
print(f"{str(camel_to_snake(field))}:\n{str(config_values)}")

Expand Down

0 comments on commit 1070d92

Please sign in to comment.