From ca778e3bf7d78a00542ab58ebefa0021ea03e4c2 Mon Sep 17 00:00:00 2001 From: jacquesfize Date: Tue, 30 Apr 2024 17:02:34 +0200 Subject: [PATCH] remove file creation --- backend/geonature/core/imports/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/geonature/core/imports/utils.py b/backend/geonature/core/imports/utils.py index d6407ef642..091816c1cc 100644 --- a/backend/geonature/core/imports/utils.py +++ b/backend/geonature/core/imports/utils.py @@ -249,7 +249,6 @@ def update_transient_data_from_dataframe(imprt, entity, updated_cols, df): def generate_pdf_from_template(template, data): template_rendered = render_template(template, data=data) - open("test.html", "w").write(template_rendered) html_file = HTML( string=template_rendered, base_url=current_app.config["API_ENDPOINT"],