forked from indymedia/epicyon
Tidying
parent
1de65ca6e1
commit
59dc9e3441
2
posts.py
2
posts.py
|
@ -1931,7 +1931,7 @@ def createBoxBase(session,baseDir: str,boxname: str, \
|
||||||
if not headerOnly:
|
if not headerOnly:
|
||||||
boxItems['orderedItems'].append(p)
|
boxItems['orderedItems'].append(p)
|
||||||
postsOnPageCtr += 1
|
postsOnPageCtr += 1
|
||||||
elif postsOnPageCtr == itemsPerPage:
|
if postsOnPageCtr >= itemsPerPage:
|
||||||
# if this is the last post update the next message ID
|
# if this is the last post update the next message ID
|
||||||
if '/statuses/' in p['id']:
|
if '/statuses/' in p['id']:
|
||||||
postId = p['id'].split('/statuses/')[1].replace('/activity','')
|
postId = p['id'].split('/statuses/')[1].replace('/activity','')
|
||||||
|
|
Loading…
Reference in New Issue