mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-01-02 14:50:04 +01:00
strip trailing whitespace on the flight number
This commit is contained in:
parent
a08e3c0fb6
commit
2fc4f7fd3a
|
|
@ -125,7 +125,7 @@ class ModeSParser(PickleModule):
|
|||
input[10] & 0b00111111
|
||||
]
|
||||
|
||||
message["identification"] = bytes(b + (0x40 if b < 27 else 0) for b in id).decode("ascii")
|
||||
message["identification"] = bytes(b + (0x40 if b < 27 else 0) for b in id).decode("ascii").strip()
|
||||
|
||||
elif type in [5, 6, 7, 8]:
|
||||
# surface position
|
||||
|
|
|
|||
Loading…
Reference in a new issue