mirror of
https://github.com/TheCommsChannel/TC2-APRS-BBS.git
synced 2025-06-28 15:57:15 -04:00
Fix for SSID being stripped
This commit is contained in:
parent
aa40288a4f
commit
2e97f29419
1 changed files with 1 additions and 1 deletions
|
@ -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_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_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
|
message = aprs_frame.info.text.decode('utf-8') if isinstance(aprs_frame.info.text, bytes) else aprs_frame.info.text
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue