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