Fix again the link value in feed items

This commit is contained in:
Denis Laxalde 2021-05-17 16:39:03 +02:00 committed by Drew DeVault
parent a60d5ce949
commit 9a054b1713
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def generate_feed(jobs, title, link, description):
element = ET.SubElement(channel, "item")
title, description = f"#{job.id} ({job.status.name})", job.note
author = job.owner.username
url = f"{ORIGIN}/~{author}/{job.id}"
url = f"{ORIGIN}/~{author}/job/{job.id}"
time = job.updated.strftime(RFC_822_FORMAT)
ET.SubElement(element, "title").text = title
if description: