Skip to content

Commit fdfa2b3

Browse files
committed
fix typing
1 parent 2f5dbdf commit fdfa2b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyModeS/decoder/adsb.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,9 @@ def nic_v2(msg: str, NICa: int, NICbc: int) -> tuple[int | None, int | None]:
455455
try:
456456
if isinstance(NIC, dict):
457457
NIC = NIC[NICs]
458-
459458
Rc = uncertainty.NICv2[NIC][NICs]["Rc"]
460459
except KeyError:
461-
NIC = uncertainty.NA
462-
Rc = uncertainty.NA
460+
return None, None
463461

464462
return NIC, Rc # type: ignore
465463

0 commit comments

Comments
 (0)