Fix for SSID being stripped

This commit is contained in:
TC² 2025-01-10 10:02:00 -05:00
parent aa40288a4f
commit 2e97f29419

View File

@ -171,7 +171,7 @@ def start():
source_callsign = aprs_frame.source.callsign.decode('utf-8') if isinstance(aprs_frame.source.callsign, bytes) else aprs_frame.source.callsign
source_ssid = aprs_frame.source.ssid
source = normalize_callsign(f"{source_callsign}-{source_ssid}")
source = f"{source_callsign}-{source_ssid}" if source_ssid else source_callsign
message = aprs_frame.info.text.decode('utf-8') if isinstance(aprs_frame.info.text, bytes) else aprs_frame.info.text