Get posts a second time

main2
Bob Mottram 2019-11-06 13:49:51 +00:00
parent a7872e7c7f
commit a24959fa66
1 changed files with 1 additions and 0 deletions

View File

@ -2285,6 +2285,7 @@ def archivePostsForPerson(httpPrefix: str,nickname: str,domain: str,baseDir: str
postsInBoxDict={} postsInBoxDict={}
postsCtr=0 postsCtr=0
postsInBox=os.scandir(boxDir)
for postFilename in postsInBox: for postFilename in postsInBox:
postFilename=postFilename.name postFilename=postFilename.name
if not postFilename.endswith('.json'): if not postFilename.endswith('.json'):