Check that items are returned

main
Bob Mottram 2020-11-03 15:04:33 +00:00
parent 4c1553e1e7
commit 5318beebf0
1 changed files with 3 additions and 2 deletions

View File

@ -589,8 +589,9 @@ def getDictFromNewswire(session, baseDir: str, domain: str,
itemsList = getRSS(baseDir, domain, session, url, itemsList = getRSS(baseDir, domain, session, url,
moderated, mirrored, moderated, mirrored,
maxPostsPerSource, maxFeedSizeKb) maxPostsPerSource, maxFeedSizeKb)
for dateStr, item in itemsList.items(): if itemsList:
result[dateStr] = item for dateStr, item in itemsList.items():
result[dateStr] = item
# add blogs from each user account # add blogs from each user account
addBlogsToNewswire(baseDir, domain, result, addBlogsToNewswire(baseDir, domain, result,