Break at end of file

main
Bob Mottram 2020-05-21 22:53:12 +01:00
parent 3fe81d8d81
commit f6a52ebb91
1 changed files with 1 additions and 2 deletions

View File

@ -2547,8 +2547,7 @@ def createBoxIndexed(recentPostsCache: {},
postFilename = indexFile.readline() postFilename = indexFile.readline()
if not postFilename: if not postFilename:
postsCtr += 1 break
continue
# Skip through any posts previous to the current page # Skip through any posts previous to the current page
if postsCtr < int((pageNumber - 1) * itemsPerPage): if postsCtr < int((pageNumber - 1) * itemsPerPage):