mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
return failed callsign check with bytes instead of str
This commit is contained in:
parent
5be2a88fd0
commit
e05577b492
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ def check_callsign(callsign: bytes, crc_to_check: bytes):
|
||||||
log.debug("[HLP] check_callsign matched:", call_with_ssid=call_with_ssid)
|
log.debug("[HLP] check_callsign matched:", call_with_ssid=call_with_ssid)
|
||||||
return [True, bytes(call_with_ssid)]
|
return [True, bytes(call_with_ssid)]
|
||||||
|
|
||||||
return [False, ""]
|
return [False, b'']
|
||||||
|
|
||||||
|
|
||||||
def check_session_id(id: bytes, id_to_check: bytes):
|
def check_session_id(id: bytes, id_to_check: bytes):
|
||||||
|
|
Loading…
Reference in a new issue