Check list length

main
Bob Mottram 2020-10-07 14:55:27 +01:00
parent 6208a3f00f
commit c0beeb3e91
1 changed files with 3 additions and 1 deletions

View File

@ -58,6 +58,8 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
rssTitle = item[0] rssTitle = item[0]
url = item[1] url = item[1]
rssDescription = ''
if len(item) >= 4:
rssDescription = item[4] rssDescription = item[4]
if rssDescription: if rssDescription:
rssDescription += \ rssDescription += \