[damned-lies/develop: 2/2] fix: add trailing slash after path for yelp-build




commit 7d9d4583ceb812e8206b238d56d6fd2044a35599
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date:   Fri Oct 7 23:56:04 2022 +0200

    fix: add trailing slash after path for yelp-build

 vertimus/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vertimus/views.py b/vertimus/views.py
index 44c61998..f31c49f9 100644
--- a/vertimus/views.py
+++ b/vertimus/views.py
@@ -485,7 +485,7 @@ class BuildTranslatedDocsView(PoFileActionBase):
                 build_ref = [str(build_dir)]
             else:
                 build_ref = [os.path.join(build_dir, s.name) for s in sources]
-            cmd = ["yelp-build", "html", "-o", str(html_dir), "-p", str(doc_format.vcs_path / "C"), 
*build_ref]
+            cmd = ["yelp-build", "html", "-o", str(html_dir) + "/", "-p", str(doc_format.vcs_path / "C"), 
*build_ref]
             result = subprocess.run(cmd, cwd=str(build_dir), stderr=subprocess.PIPE)
             index_html = html_dir / "index.html"
             if result.returncode != 0 or (not index_html.exists() and len(result.stderr) > 0):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]