diff --git a/newsdaemon.py b/newsdaemon.py index 6df1600f..cdae44f2 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -58,7 +58,9 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str, rssTitle = item[0] url = item[1] - rssDescription = item[4] + rssDescription = '' + if len(item) >= 4: + rssDescription = item[4] if rssDescription: rssDescription += \ '\n\n' + translate['Read more...'] + '\n' + url