From a29eef98669ccd4a19e9df89b86dbec090589601 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Mon, 21 Oct 2024 22:03:31 -0400 Subject: [PATCH] Add missing camel to snake conversion --- meshtastic/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/node.py b/meshtastic/node.py index 2986ded5..fa02c6a3 100644 --- a/meshtastic/node.py +++ b/meshtastic/node.py @@ -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)}")