LuisBlanche commited on
Commit
42d4976
·
verified ·
1 Parent(s): 3a40b82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -315,7 +315,7 @@ def generate_poster(deputy_name, message_1, message_2, vote_list):
315
  pdfposter = PDFPoster(deputy_name)
316
  pdfposter.retrieve_deputy_data()
317
  pdfbuffer = pdfposter.generate_poster(vote_list, message_1, message_2)
318
- pdf_path = f"./static/{deputy_name}.pdf"
319
  with open(pdf_path, "wb") as f:
320
  f.write(pdf_buffer.getvalue())
321
 
 
315
  pdfposter = PDFPoster(deputy_name)
316
  pdfposter.retrieve_deputy_data()
317
  pdfbuffer = pdfposter.generate_poster(vote_list, message_1, message_2)
318
+ pdf_path = f"/data/{deputy_name}.pdf"
319
  with open(pdf_path, "wb") as f:
320
  f.write(pdf_buffer.getvalue())
321