Skip to content

Path bug (2)

In pdf_generation

folder = os.path.realpath(os.path.dirname(__file__))
foot_file = os.path.join(folder, "static", "end_page_for_pdf.docx")
   folder = os.path.realpath(os.path.dirname(__file__))
   carte_fr_file = os.path.join(folder, "static", "carte_france_fin_doc.PNG")
   bandeau_file = os.path.join(folder, "static", "bandeau_fin_doc.PNG")
   self.image(carte_fr_file, 90, 100, 100)
   self.image(bandeau_file, 15, 100, 60)