From f7462a498e3ed10e6c83cabb79118239cca1f4f1 Mon Sep 17 00:00:00 2001 From: Kelly Date: Sat, 7 Mar 2026 18:19:54 -0800 Subject: [PATCH] Update dxspot.py --- modules/dxspot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dxspot.py b/modules/dxspot.py index fe2f269..590b6f1 100644 --- a/modules/dxspot.py +++ b/modules/dxspot.py @@ -46,7 +46,7 @@ def handledxcluster(message, nodeID, deviceID): freq_hz = spot.get('freq', spot.get('frequency', None)) frequency = f"{float(freq_hz)/1e6:.3f} MHz" if freq_hz else "N/A" mode_val = spot.get('mode', 'N/A') - comment = spot.get('comment', '') + comment = spot.get('comment') or '' if len(comment) > 111: # Truncate comment to 111 chars comment = comment[:111] + '...' sig = spot.get('sig', '')