From 3bf8cdb36d420463012ed1f7f4e42c48407d8961 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Oct 2019 13:05:15 +0100 Subject: [PATCH] Increase maximum --- posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts.py b/posts.py index ea25350b1..b6010b736 100644 --- a/posts.py +++ b/posts.py @@ -2037,7 +2037,7 @@ def createBoxBase(session,baseDir: str,boxname: str, \ postsCtr=0 maxPostCtr=None if pageNumber: - maxPostCtr=itemsPerPage*pageNumber + maxPostCtr=(itemsPerPage+3)*pageNumber with open(indexFilename, 'r') as indexFile: for postFilename in indexFile: postsInBox[postsCtr]=os.path.join(boxDir, postFilename.replace('\n',''))