Correct URLs in RSS feed

This commit is contained in:
Midgard 2020-06-16 14:44:43 +02:00
parent 8d30b23b04
commit ec945e5679
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

2
rss.py
View file

@ -46,7 +46,7 @@ def main():
p(map, lambda x: { p(map, lambda x: {
**x, **x,
"published_rfc822": iso8601torfc822(x["published"]), "published_rfc822": iso8601torfc822(x["published"]),
"url": BASE_URL + x["path"] "url": f"{BASE_URL}/{x['path']}"
}) | list }) | list
) )