Sorting order

main
Bob Mottram 2020-10-07 20:41:55 +01:00
parent b42d7c14e4
commit f2fbccd014
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
os.mkdir(basePath) os.mkdir(basePath)
newswireReverse = \ newswireReverse = \
OrderedDict(sorted(newswire.items(), reverse=True)) OrderedDict(sorted(newswire.items(), reverse=False))
for dateStr, item in newswireReverse.items(): for dateStr, item in newswireReverse.items():
# convert the date to the format used by ActivityPub # convert the date to the format used by ActivityPub