Compare commits

..

No commits in common. "873f0d84b30ca19006c79e9dd4f2d33f00f48b93" and "230090ae221a40ee47b743093ecc05313db2172b" have entirely different histories.

View File

@ -181,7 +181,7 @@ class DepthSheetWriter:
worksheet.column_dimensions[col_letter].width = adjusted_width
def _set_color_to_row(self, ws: Worksheet, item_type: str) -> None:
if not self.palette or item_type in ("SUB_ITEM", "INPUT"):
if not self.palette:
return
row = ws.max_row