mirror of https://gitlab.com/bashrc2/epicyon
Only add debug if there are a small number of posts
parent
0e208f4121
commit
9caa658a5e
5
posts.py
5
posts.py
|
@ -3250,8 +3250,9 @@ def _createBoxIndexed(recentPostsCache: {},
|
|||
print('WARN: Unable to locate post ' + postUrl +
|
||||
' nickname ' + nickname)
|
||||
|
||||
print('Posts added to timeline ' + boxname + ': ' +
|
||||
str(postsAddedToTimeline))
|
||||
if postsCtr < 3:
|
||||
print('Posts added to json timeline ' + boxname + ': ' +
|
||||
str(postsAddedToTimeline))
|
||||
|
||||
# Generate first and last entries within header
|
||||
if postsCtr > 0:
|
||||
|
|
|
@ -735,9 +735,10 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
if boxName == 'tlmedia':
|
||||
tlStr += '</div>\n'
|
||||
|
||||
print('Items in timeline ' + boxName + ': ' +
|
||||
str(itemCtr) + ' ' + str(timelineJson['orderedItems']))
|
||||
|
||||
if itemCtr < 3:
|
||||
print('Items added to html timeline ' + boxName + ': ' +
|
||||
str(itemCtr) + ' ' + str(timelineJson['orderedItems']))
|
||||
|
||||
# page down arrow
|
||||
if itemCtr > 2:
|
||||
tlStr += textModeSeparator
|
||||
|
|
Loading…
Reference in New Issue