From ded8470677bcedf6fc8f03019f208bf77d10f998 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 26 Oct 2025 09:56:29 -0700 Subject: [PATCH] Update dxspot.py --- modules/dxspot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/dxspot.py b/modules/dxspot.py index e4c58f8..90ab47a 100644 --- a/modules/dxspot.py +++ b/modules/dxspot.py @@ -41,10 +41,10 @@ def handledxcluster(message, nodeID, deviceID): if spots: response_lines = [] for spot in spots[:5]: - callsign = spot.get('dx_call', spot.get('callsign', 'N/A')) + callsign = spot.get('dx_call', spot.get('callsign', '')) 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') + frequency = f"{float(freq_hz)/1e6:.3f} MHz" if freq_hz else "" + mode_val = spot.get('mode', '') comment = spot.get('comment', '') if len(comment) > 111: # Truncate comment to 111 chars comment = comment[:111] + '...'