04/28 Updated sprint 3

This commit is contained in:
2026-04-28 17:13:24 -04:00
parent bfc2f58fe2
commit 84c7f9d045
5 changed files with 48 additions and 51 deletions
+2 -2
View File
@@ -1073,8 +1073,8 @@ def download_import_template():
try:
if len(str(cell.value)) > max_length:
max_length = len(str(cell.value))
except:
pass
except Exception:
pass # Non-string cell value — skip width measurement
adjusted_width = min(max_length + 2, 50)
ws.column_dimensions[col_letter].width = adjusted_width