From f2407f9f7b5d0fa8e65e5069fecdd265978d95f7 Mon Sep 17 00:00:00 2001 From: dv Date: Wed, 8 Apr 2026 21:48:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=BC=D0=BC=D0=BC=D0=BC=D0=BC=D0=BC?= =?UTF-8?q?=D0=BC=D0=BC=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/routers/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/routers/objects.py b/backend/app/routers/objects.py index 3b12aaf..7e19be8 100644 --- a/backend/app/routers/objects.py +++ b/backend/app/routers/objects.py @@ -296,7 +296,7 @@ async def _parse_objects_xlsx( def _cell(row: tuple, key: str) -> str | None: idx = col.get(key) - if idx is None: + if idx is None or idx >= len(row): return None val = row[idx] if val is None: