From 2b3b25c18852053533230edef23dbaf3170bdc06 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 22 Dec 2022 23:26:46 +0200 Subject: [PATCH] fix 500 error --- files/routes/feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/feeds.py b/files/routes/feeds.py index bd54961e5..9eed9cc8f 100644 --- a/files/routes/feeds.py +++ b/files/routes/feeds.py @@ -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)