Skip to content

Commit

Permalink
Add missing camel to snake conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
lachesis committed Oct 22, 2024
1 parent 9968952 commit a29eef9
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 a29eef9

Please sign in to comment.