From 6088337b4ad33949145b2bc5c184c8f302e18fd4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 14 Sep 2021 18:29:17 +0200 Subject: [PATCH] fd --- 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 103b8e261..068946c81 100644 --- a/files/routes/feeds.py +++ b/files/routes/feeds.py @@ -48,7 +48,7 @@ def feeds_user(sort='hot', t='all'): with tag("published"): text(datetime.utcfromtimestamp(post.created_utc).isoformat()) - doc.stag("link", href=post.url) + if post.url: doc.stag("link", href=post.url) with tag("author"): with tag("name"):