Skip to content

Commit

Permalink
refactor: replace xlsxwriter usage with openpyxl
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 4, 2024
1 parent f0d3bc8 commit a749402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osm_fieldwork/update_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def update_xls_form(custom_form: BytesIO):
custom_sheets["entities"] = mandatory_sheets["entities"]

output = BytesIO()
with pd.ExcelWriter(output, engine="xlsxwriter") as writer:
with pd.ExcelWriter(output, engine="openpyxl") as writer:
for sheet_name, df in custom_sheets.items():
df.to_excel(writer, sheet_name=sheet_name, index=False)

Expand Down

0 comments on commit a749402

Please sign in to comment.