~savoy/ade

e65b60f5ed9397b25420ecc1d37d7971bbf3d2c9 — savoy 2 years ago 9a1a2a4
bug: hide Excel alerts to not crash with xlwings

Signed-off-by: savoy <git@liberation.red>
1 files changed, 1 insertions(+), 0 deletions(-)

M ade/lib/remote.py
M ade/lib/remote.py => ade/lib/remote.py +1 -0
@@ 2767,6 2767,7 @@ class File:
    def _to_excel(self) -> None:
        """Saves the report as an Excel file following the rep.SheetStructure."""
        app = xw.App(visible=self.open_file, add_book=False)
        app.display_alerts = False
        try:
            book = app.books.open(self.file)
        except FileNotFoundError: