.html at end of link

This commit is contained in:
2025-01-30 09:02:29 +01:00
committed by Flo Greistorfer
parent 0107c4d38c
commit 08895902ec
2 changed files with 2 additions and 2 deletions

View File

@@ -360,7 +360,7 @@ def create_html_file(folder: str, title: str, foldername: str, images: list[dict
if folder_license:
license_html = os.path.join(folder, "license.html")
license_url = _args.web_root_url + urllib.parse.quote(foldername) + "license"
license_url = _args.web_root_url + urllib.parse.quote(foldername) + "license.html"
with open(license_html, "w+", encoding="utf-8") as f:
logger.info("writing license html file", extra={"path": license_html})
gtml = env.get_template("license.html.j2")