Skip to content

Commit

Permalink
Merge pull request #619 from hkleen/fix_row_color_ref
Browse files Browse the repository at this point in the history
[BoM][Fixed] Generate color ref for xlsx output
  • Loading branch information
set-soft authored May 15, 2024
2 parents 6021e2c + 77d6d02 commit 9a4e671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibot/bom/xlsx_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def insert_logo(worksheet, image_data, scale):


def create_color_ref(workbook, col_colors, hl_empty, fmt_cols, do_kicost, kicost_colors, row_colors):
if not (col_colors or do_kicost):
if not (col_colors or row_colors or do_kicost):
return
row = 0
worksheet = workbook.add_worksheet('Colors')
Expand Down

0 comments on commit 9a4e671

Please sign in to comment.