From ef7d27c143994de36b82077564a43c5569badc49 Mon Sep 17 00:00:00 2001 From: gsd Date: Sun, 7 Jun 2026 21:38:30 +0300 Subject: [PATCH] f2 --- other_ext/kamaz_ai.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/other_ext/kamaz_ai.py b/other_ext/kamaz_ai.py index be4c913..e5e391b 100644 --- a/other_ext/kamaz_ai.py +++ b/other_ext/kamaz_ai.py @@ -62,10 +62,14 @@ class KamazAI: ''' def __init__(self, reports_list): + print("Reports list size: ", len(reports_list)) self.historical_reports = reports_list self.report_actions = {} for report in reports_list: - self.report_actions[report["id"]] = report["actions"] + try: + self.report_actions[report["id"]] = report["actions"] + except: + print("Cannot build action", report) self.numeric_stats = self.normalize_numerics(reports_list)