Always count

main2
Bob Mottram 2019-09-30 21:45:25 +01:00
parent 2b318435b2
commit 6a6f814e2c
1 changed files with 1 additions and 1 deletions

View File

@ -2129,6 +2129,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
for item in timelineJson['orderedItems']: for item in timelineJson['orderedItems']:
if item['type']=='Create' or item['type']=='Announce': if item['type']=='Create' or item['type']=='Announce':
avatarUrl=getPersonAvatarUrl(baseDir,item['actor'],personCache) avatarUrl=getPersonAvatarUrl(baseDir,item['actor'],personCache)
itemCtr+=1
currTlStr= \ currTlStr= \
individualPostAsHtml(iconsDir,translate,pageNumber, \ individualPostAsHtml(iconsDir,translate,pageNumber, \
baseDir,session,wfRequest,personCache, \ baseDir,session,wfRequest,personCache, \
@ -2141,7 +2142,6 @@ def htmlTimeline(translate: {},pageNumber: int, \
if currTlStr: if currTlStr:
tlStr+=currTlStr tlStr+=currTlStr
itemCtr+=1
if boxName=='tlmedia': if boxName=='tlmedia':
tlStr+='</div>\n' tlStr+='</div>\n'