diff --git a/posts.py b/posts.py index b3f0874f..7c7657ca 100644 --- a/posts.py +++ b/posts.py @@ -2036,11 +2036,12 @@ def createBoxBase(session,baseDir: str,boxname: str, \ minPageNumber=pageNumber+4 maxPostCtr=itemsPerPage*minPageNumber with open(indexFilename, 'r') as indexFile: - for postFilename in indexFile: + while postsCtr=maxPostCtr: - break else: postsCtr=createBoxIndex(boxDir,postsInBoxDict)