fix image

This commit is contained in:
2026-03-25 13:38:54 +05:00
parent c33befe7c2
commit afe91432dc
5 changed files with 64 additions and 17 deletions

View File

@@ -69,7 +69,7 @@ def load_table3(path: str):
scales = {} # zu_name → масштаб (строка из c1 третьей строки блока)
for i, row in enumerate(ws.iter_rows(values_only=True), start=1):
zu_name = row[5] if len(row) > 5 else None
if zu_name and str(zu_name).strip().startswith("выявл"):
if zu_name and str(zu_name).strip():
zu_name = str(zu_name).strip()
zu_by_row[i] = zu_name
# масштаб — третья строка блока (header+2)