Merge branch 'BOSWatch:develop' into update/codeQL

This commit is contained in:
KoenigMjr 2025-07-07 13:30:17 +02:00 committed by GitHub
commit 8adb7ad1b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ class PocsagDecoder:
if re.search("[0-9]{7}", ric) and re.search("[1-4]", subric): if re.search("[0-9]{7}", ric) and re.search("[1-4]", subric):
if "Alpha:" in data: if "Alpha:" in data:
message = data.split('Alpha: ')[1].strip() message = data.split('Alpha:')[1].strip()
message = message.replace('<NUL>', '').replace('<NUL', '').replace('< NUL>', '').replace('<EOT>', '').strip() message = message.replace('<NUL>', '').replace('<NUL', '').replace('< NUL>', '').replace('<EOT>', '').strip()
else: else:
message = "" message = ""