mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Fix for IndexError related to SSID extraction.
This commit is contained in:
parent
b0742e114a
commit
99586c6d19
1 changed files with 3 additions and 0 deletions
|
@ -290,6 +290,9 @@ def check_callsign(callsign: bytes, crc_to_check: bytes):
|
|||
# We want the callsign without SSID
|
||||
callsign = callsign.split(b"-")[0]
|
||||
|
||||
except IndexError:
|
||||
# This is expected when `callsign` doesn't have a dash.
|
||||
pass
|
||||
except Exception as err:
|
||||
log.debug("[HLP] check_callsign: Error callsign SSID to integer:", e=err)
|
||||
|
||||
|
|
Loading…
Reference in a new issue