From e72b3c191ebcb946bcbffb4e705b6b285c827963 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 9 Nov 2025 16:43:22 -0800 Subject: [PATCH] Update system.py --- modules/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system.py b/modules/system.py index 6f9d5bf..bfbc831 100644 --- a/modules/system.py +++ b/modules/system.py @@ -424,9 +424,9 @@ def build_channel_cache(force_refresh: bool = False): channels = getattr(node, "channels", []) or [] # try to use the node-provided channel/hash table if available try: - ch_hash_table = node.get_channels_with_hash() if hasattr(node, "get_channels_with_hash") else {} + ch_hash_table = node.get_channels_with_hash() except Exception: - logger.warning(f"System: meshtastic API 2.7.4+ required for channel hash fetching. Falling back to default PSK hashing.") + logger.warning(f"System: meshtastic API 2.7.4+ required for channel hash fetching. Attempting PSK hashing.") ch_hash_table = {} channel_dict = {}