From 376267971e804f59848937009caaa3766c21f18e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Fri, 6 Jan 2023 11:19:58 +0100
Subject: [PATCH] fix missing author handling

---
 main/feeds.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/feeds.py b/main/feeds.py
index 5dd3a96f..01837185 100644
--- a/main/feeds.py
+++ b/main/feeds.py
@@ -76,7 +76,7 @@ class LatestArticlesFeed(Feed):
         if item.author:
             return item.author
 
-        if item.author_page.title:
+        if item.author_page and item.author_page.title:
             return item.author_page.title
 
         return ""
-- 
GitLab