update @ Fri Mar 1 00:15:51 EET 2024

Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
Arija A. 2024-03-01 00:15:51 +02:00
parent daf10116de
commit 8e112cdd26
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -1313,7 +1313,9 @@ def rss(config: dict[str, typing.Any]) -> int:
post["created"]
).strftime(ftime)
etree.SubElement(item, "guid").text = link
etree.SubElement(item, "author").text = f"{config['email']} ({config['author']})"
etree.SubElement(item, "author").text = (
f"{config['email']} ({config['author']})"
)
etree.ElementTree(root).write(
config["rss-file"], encoding="UTF-8", xml_declaration=True