Skip to content

Commit

Permalink
Prevent extra empty 0px column
Browse files Browse the repository at this point in the history
Issue #239
  • Loading branch information
damies13 committed Oct 18, 2024
1 parent ecf1c88 commit 46f6091
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rfswarm_reporter/rfswarm_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5058,10 +5058,10 @@ def docx_sections_table(self, id):
cellcol = 0
cellrow = 0
if colours:
numcols += 1
# numcols += 1
cellcol += 1
if "Colour" in cols:
numcols -= 1
# if "Colour" in cols:
# numcols -= 1

table = document.add_table(rows=1, cols=numcols)
# Table Grid Light
Expand Down

0 comments on commit 46f6091

Please sign in to comment.