Skip to content

Commit

Permalink
Merge pull request #298 from euphorie/openpyxl3
Browse files Browse the repository at this point in the history
Support openpyxl 3.x
  • Loading branch information
ale-rt authored Jan 20, 2025
2 parents d6f0dd6 + 633b7ba commit 207a7df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Changelog
10.1.0 (2025-01-15)
-------------------

- Support openpyxl 3.x
[reinhardt]
- Remove support and testing infrastructure for Plone 5.2.
[thet]
- Mailing Lists: Support batching
Expand Down
6 changes: 1 addition & 5 deletions src/osha/oira/client/browser/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,7 @@ def create_workbook(self):
else:
cell = ws1.cell(row=row, column=column)
if value is not None:
if key == "number":
# force string
cell.set_explicit_value(value)
else:
cell.value = value
cell.value = value
if key == "budget":
cell.style = "Comma"
cell.alignment = alignment_basic
Expand Down

0 comments on commit 207a7df

Please sign in to comment.