Skip to content

Commit

Permalink
remove file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed May 3, 2024
1 parent 7b66d36 commit ca778e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/geonature/core/imports/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit ca778e3

Please sign in to comment.