return failed callsign check with bytes instead of str

This commit is contained in:
dj2ls 2022-12-29 17:49:30 +01:00
parent 5be2a88fd0
commit e05577b492

View file

@ -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)
return [True, bytes(call_with_ssid)]
return [False, ""]
return [False, b'']
def check_session_id(id: bytes, id_to_check: bytes):