From a24959fa66a47eac51896a9e93a458395d1c1897 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 6 Nov 2019 13:49:51 +0000 Subject: [PATCH] Get posts a second time --- posts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/posts.py b/posts.py index 57deaf918..ac631cb04 100644 --- a/posts.py +++ b/posts.py @@ -2285,6 +2285,7 @@ def archivePostsForPerson(httpPrefix: str,nickname: str,domain: str,baseDir: str postsInBoxDict={} postsCtr=0 + postsInBox=os.scandir(boxDir) for postFilename in postsInBox: postFilename=postFilename.name if not postFilename.endswith('.json'):