Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
junzis committed Aug 25, 2024
1 parent 2f5dbdf commit fdfa2b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyModeS/decoder/adsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,9 @@ def nic_v2(msg: str, NICa: int, NICbc: int) -> tuple[int | None, int | None]:
try:
if isinstance(NIC, dict):
NIC = NIC[NICs]

Rc = uncertainty.NICv2[NIC][NICs]["Rc"]
except KeyError:
NIC = uncertainty.NA
Rc = uncertainty.NA
return None, None

return NIC, Rc # type: ignore

Expand Down

0 comments on commit fdfa2b3

Please sign in to comment.