fix typing
This commit is contained in:
parent
2f5dbdf08d
commit
fdfa2b3fab
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user