mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-20 22:05:13 +00:00
strip leading periods from registration
This commit is contained in:
parent
7758ff6541
commit
8d9b7e2f3b
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class AcarsProcessor(JsonParser, metaclass=ABCMeta):
|
|||
if "flight" in acars:
|
||||
flight_id = acars["flight"]
|
||||
elif "reg" in acars:
|
||||
flight_id = acars['reg']
|
||||
flight_id = acars['reg'].lstrip(".")
|
||||
else:
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue