From 8880664f7c25075c39b04ab57a898a1394ae0a1a Mon Sep 17 00:00:00 2001 From: Youen Date: Thu, 27 Apr 2023 18:50:20 +0200 Subject: [PATCH] Renaming output PDF file --- src/data/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/document.py b/src/data/document.py index 7ec332f..d066958 100644 --- a/src/data/document.py +++ b/src/data/document.py @@ -73,7 +73,7 @@ class Document: #cmd.append(['rm', self.doc_path + '/build/weasyprint/index.pdf', self.doc_path + '/build/weasyprint/toc.tex', self.doc_path + '/build/weasyprint/toc.pdf', self.doc_path + '/build/weasyprint/GuidedemontageVheliotech.pdf']) # Copy the generated PDF file to the HTML directory, so that it is accessible for download by users - cmd.append(['cp', self.doc_path + '/build/weasyprint/vheliotech.pdf', self.doc_path + '/build/html/vheliotech.pdf']) + cmd.append(['cp', self.doc_path + '/build/weasyprint/vheliotech.pdf', self.doc_path + '/build/html/guide-de-montage-vheliotech.pdf']) task = ProcessTask(cmd, cwd = self.doc_path + "/repo") task.start()