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)