Skip to content

Commit eaa53e8

Browse files
authored
Merge pull request #2 from brian7704/main
Fix for TIS-B error
2 parents 6b0c8e6 + edf714d commit eaa53e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aircot/functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def adsb_to_cot_type(
8585
# ADS-B track injected by the FAA via the ADS-B rebroadcast, usually FAA Secondary Radar Mode A/C tracks for safety
8686
# and ground vehicles
8787
if isinstance(icao, str):
88-
icao = int(f"0x{icao.replace('~', 'TIS-B_')}", 16)
88+
icao = int(f"0x{icao.replace('~', '')}", 16)
8989
elif isinstance(icao, int):
9090
icao = icao
9191

0 commit comments

Comments
 (0)