diff --git a/xlcompose/core.py b/xlcompose/core.py index b972e5a..3881613 100644 --- a/xlcompose/core.py +++ b/xlcompose/core.py @@ -47,7 +47,7 @@ def to_excel(self): self._write(sheet.layout, sheet.name) sheet.layout.kwargs.update(sheet.kwargs) self._set_worksheet_properties(sheet.layout, sheet.name) - self.writer.save() + self.writer.close() def _write(self, exhibit, sheet, start_row=0, start_col=0):