From 8dfcfea0bdb07c134fdf4e16a54145e5088fa1a9 Mon Sep 17 00:00:00 2001 From: Soren Wacker Date: Wed, 2 Aug 2023 11:10:20 -0600 Subject: [PATCH] fix download dense --- ms_mint_app/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ms_mint_app/tools.py b/ms_mint_app/tools.py index 201366e..82e54f9 100644 --- a/ms_mint_app/tools.py +++ b/ms_mint_app/tools.py @@ -773,7 +773,7 @@ def df_to_in_memory_excel_file(df): def to_xlsx(bytes_io): xslx_writer = pd.ExcelWriter(bytes_io, engine="xlsxwriter") df.to_excel(xslx_writer, index=True, sheet_name="sheet1") - xslx_writer.save() + xslx_writer.close() return to_xlsx