From a749402ab7e8510e13abf6e6aa6417c0ec030d6d Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Wed, 4 Sep 2024 16:41:28 +0100 Subject: [PATCH] refactor: replace xlsxwriter usage with openpyxl --- osm_fieldwork/update_form.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_fieldwork/update_form.py b/osm_fieldwork/update_form.py index b4438836..b0b58ebe 100644 --- a/osm_fieldwork/update_form.py +++ b/osm_fieldwork/update_form.py @@ -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)