forked from indymedia/epicyon
Avoid premature exit
parent
193edd2a92
commit
a589a14ca3
1
posts.py
1
posts.py
|
@ -1696,6 +1696,7 @@ def createBoxBase(baseDir: str,boxname: str, \
|
||||||
if postsOnPageCtr > itemsPerPage:
|
if postsOnPageCtr > itemsPerPage:
|
||||||
break
|
break
|
||||||
# count the pages
|
# count the pages
|
||||||
|
if currPage != pageNumber:
|
||||||
postsCtr += 1
|
postsCtr += 1
|
||||||
if postsCtr >= itemsPerPage:
|
if postsCtr >= itemsPerPage:
|
||||||
postsCtr = 0
|
postsCtr = 0
|
||||||
|
|
Loading…
Reference in New Issue