Increase maximum

main2
Bob Mottram 2019-10-20 13:05:15 +01:00
parent 0b95f9df52
commit 3bf8cdb36d
1 changed files with 1 additions and 1 deletions

View File

@ -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',''))