Reverse order

main
Bob Mottram 2020-10-04 22:45:46 +01:00
parent 951577460d
commit ece3569b22
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ def getDictFromNewswire(session, baseDir: str) -> {}:
itemsList = getRSS(session, url) itemsList = getRSS(session, url)
for dateStr, item in itemsList.items(): for dateStr, item in itemsList.items():
result[dateStr] = item result[dateStr] = item
sortedResult = OrderedDict(sorted(result.items(), reverse=False)) sortedResult = OrderedDict(sorted(result.items(), reverse=True))
return sortedResult return sortedResult