diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index 7aa9f5e..4603822 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -256,6 +256,7 @@ def setPref(config, comp_name, raw_val) -> bool: cur_vals = [x for x in getattr(config_values, pref.name) if x not in [0, "", b""]] cur_vals.append(val) getattr(config_values, pref.name)[:] = cur_vals + return True prefix = f"{'.'.join(name[0:-1])}." if config_type.message_type is not None else "" print(f"Set {prefix}{uni_name} to {raw_val}")