More obvious what list entries mean

main
Bob Mottram 2020-10-09 09:40:41 +01:00
parent 10e7fadd0c
commit 6e77cf7f6b
1 changed files with 5 additions and 1 deletions

View File

@ -81,7 +81,11 @@ def xml2StrToDict(xmlStr: str) -> {}:
try:
publishedDate = \
datetime.strptime(pubDate, "%a, %d %b %Y %H:%M:%S %z")
result[str(publishedDate)] = [title, link, [], '', description]
postFilename = ''
votesStatus = []
result[str(publishedDate)] = [title, link,
votesStatus, postFilename,
description]
parsed = True
except BaseException:
pass