Исправление. Убран warning при распаковки состояния БПО от КАПС РПБ.

This commit is contained in:
MaD_CaT
2026-01-12 15:56:35 +03:00
parent 1a72187683
commit f4a6a4d465
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ func on_data_capsrpb_received(unit: capsrpb.CapsRpb, threats: Dictionary):
if not unit.json_dic.has('sa'): return
var mis = unit.json_dic['mis']
bpo_mode_rx = int(unit.json_dic['sa'])
bpo_mode_rx = int(unit.json_dic['sa']) as AFSP_BPO_MODE
var sz: = threats.size()
for dic_th in mis:
if dic_th is not Dictionary: