Hi guys i have a problem. On short, i made an app who makes some analysis on excel files and then you send it to someone. The problem: when i download the file from the email client i get a file without extension. Or extension “File”. Why? Before the sending on email the file is downloaded on the computer and there’s all good. The email file is the problem. If i open on gmail browser directly it works but if i download on the computer is the problem with extension. I have adobe reader and other apps no problem here.
Code for the pdf
settings_pdf_form = anvil.pdf.PDFRenderer(filename=f"{company_name} - {luna}") # , quality="original" asta e bun in caz ca ai ceva dereglari
pdf = settings_pdf_form.render_form('PDF_render_2', list_of_results, company_name, luna,
company_info_for_render["cui"],
company_info_for_render["trezorerie"],
company_info_for_render["buget_stat"],
company_info_for_render["cont_cam_rc_436"],
company_info_for_render["cont_cam_construc_rc_436"],
company_info_for_render["tva"],
CLIENT_INTELLIX_NAME,
email_client,
check_box_active_or_not_TRIMESTRU,
check_box_ANALIZA_CHART,
visible_buttons_panel=False)
If you can help me…thanks a lot!