Skip to content

Commit 073274c

Browse files
committed
Add missing camel to snake conversion
1 parent f08ec18 commit 073274c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshtastic/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def onResponseRequestSettings(self, p):
121121
)
122122
return
123123
if config_values is not None:
124-
raw_config = getattr(getattr(adminMessage['raw'], oneof), field)
124+
raw_config = getattr(getattr(adminMessage['raw'], oneof), camel_to_snake(field))
125125
config_values.CopyFrom(raw_config)
126126
print(f"{str(camel_to_snake(field))}:\n{str(config_values)}")
127127

0 commit comments

Comments
 (0)