Commit 67bd9f0f authored by Boris Baldassari's avatar Boris Baldassari
Browse files

Merge branch 'dev' into 'main'

#24 Fix wrong links in website errors page.

See merge request !8
parents f6158c87 edb3bbf2
......@@ -434,7 +434,7 @@ for rule in errors.keys():
for v in error:
date_path = datetime.strftime(v['run'], "%Y%m%d%H%M")
# content.append(f"- {v}\n")
content.append(f"- [{v['project']}](/projects/{v['project']}) - [{v['repo']}](/projects/{v['project']}/{v['repo']}) - [{v['run']}](/runs/{v['project']}_{date_path}) - {v['pkg']} - {v['license']}\n")
content.append(f"- [{v['project']} - {v['repo']}](/projects/{v['project']}) - [{v['run']}](/runs/v['repo']_{v['project']}_{date_path}) - {v['pkg']} - {v['license']}\n")
# Create errors directory if it doesn't exist.
dir_error = os.path.join(dir_output, "errors", rule)
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment