fix 500 error

pull/83/head
Aevann 2022-12-22 23:26:46 +02:00
parent fb66355d2a
commit 2b3b25c188
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def feeds_user(sort='hot', t='all'):
with tag("id"):
text(SITE_FULL + request.full_path)
with tag("updated"):
text(datetime.now().isoformat()+"Z")
text(datetime.datetime.now().isoformat()+"Z")
doc.stag("link", rel="self", type="application/atom+xml", href=SITE_FULL + request.full_path)
doc.stag("link", rel="alternate", type="text/html", href=SITE_FULL)