docs: fix update_examples.py

This commit is contained in:
Sina Atalay committed 2024-07-13 19:30:37 +03:00
1 parent ec65e22be9
commit 7ffc93c012
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ def generate_examples():
shutil.rmtree(rendercv_output_directory)
# convert first page of the pdf to an image:
png_file_paths = renderer.render_a_markdown_file(new_pdf_file_path)
png_file_paths = renderer.render_pngs_from_pdf(new_pdf_file_path)
firt_page_png_file_path = png_file_paths[0]
if len(png_file_paths) > 1:
# remove the other pages