forked from indymedia/epicyon
Break at end of file
parent
3fe81d8d81
commit
f6a52ebb91
3
posts.py
3
posts.py
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue