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:
|
try:
|
||||||
if isinstance(NIC, dict):
|
if isinstance(NIC, dict):
|
||||||
NIC = NIC[NICs]
|
NIC = NIC[NICs]
|
||||||
|
|
||||||
Rc = uncertainty.NICv2[NIC][NICs]["Rc"]
|
Rc = uncertainty.NICv2[NIC][NICs]["Rc"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
NIC = uncertainty.NA
|
return None, None
|
||||||
Rc = uncertainty.NA
|
|
||||||
|
|
||||||
return NIC, Rc # type: ignore
|
return NIC, Rc # type: ignore
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user